home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Programming Stuff / vdig sample / vdig rosample.π / vdig rosample.π.rsrc / CODE_2.txt < prev    next >
Text File  |  1991-09-05  |  501KB  |  9,049 lines

  1. # near model CODE resource
  2. # this CODE claims to have no jump table entries (but starts at 0000)
  3. fn00000000:
  4. 00000000  4E56 FFB0                link       A6, -0x0050
  5. 00000004  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  6. 00000008  286E 0010                movea.l    A4, [A6 + 0x10]
  7. 0000000C  2D54 FFF8                move.l     [A6 - 0x8], [A4]
  8. 00000010  2D6C 0004 FFFC           move.l     [A6 - 0x4], [A4 + 0x4]
  9. 00000016  206E 0014                movea.l    A0, [A6 + 0x14]
  10. 0000001A  2650                     movea.l    A3, [A0]
  11. 0000001C  2253                     movea.l    A1, [A3]
  12. 0000001E  41EE FFBE                lea.l      A0, [A6 - 0x42]
  13. 00000022  700B                     moveq.l    D0, 0x0B
  14. label00000024:
  15. 00000024  20D9                     move.l     [A0]+, [A1]+
  16. 00000026  51C8 FFFC                dbf        D0, -0x6 /* 00000024 */
  17. 0000002A  30D9                     move.w     [A0]+, [A1]+
  18. 0000002C  3E2C 0006                move.w     D7, [A4 + 0x6]
  19. 00000030  9E6C 0002                sub.w      D7, [A4 + 0x2]
  20. 00000034  3C2C 0004                move.w     D6, [A4 + 0x4]
  21. 00000038  9C54                     sub.w      D6, [A4]
  22. 0000003A  7A00                     moveq.l    D5, 0x00
  23. 0000003C  7800                     moveq.l    D4, 0x00
  24. 0000003E  2053                     movea.l    A0, [A3]
  25. 00000040  2010                     move.l     D0, [A0]
  26. 00000042  B0B8 0824                cmp.l      D0, [0x00000824 /* ScrnBase */]
  27. 00000046  6600 00C2                bne        +0xC4 /* 0000010A */
  28. 0000004A  2053                     movea.l    A0, [A3]
  29. 0000004C  3628 0006                move.w     D3, [A0 + 0x6]
  30. 00000050  3D68 0008 FFB8           move.w     [A6 - 0x48], [A0 + 0x8]
  31. 00000056  486E FFF8                pea.l      [A6 - 0x8]
  32. 0000005A  4EBA 0770                jsr        [PC + 0x770 /* 000007CC */]
  33. 0000005E  486E FFBA                pea.l      [A6 - 0x46]
  34. 00000062  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  35. 00000066  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  36. 0000006A  A880                     syscall    SetPt
  37. 0000006C  4297                     clr.l      [A7]
  38. 0000006E  AA29                     syscall    GetDeviceList
  39. 00000070  245F                     movea.l    A2, [A7]+
  40. 00000072  6008                     bra        +0xA /* 0000007C */
  41. label00000074:
  42. 00000074  42A7                     clr.l      -[A7]
  43. 00000076  2F0A                     move.l     -[A7], A2
  44. 00000078  AA2B                     syscall    GetNextDevice
  45. 0000007A  245F                     movea.l    A2, [A7]+
  46. label0000007C:
  47. 0000007C  200A                     move.l     D0, A2
  48. 0000007E  6716                     beq        +0x18 /* 00000096 */
  49. 00000080  4227                     clr.b      -[A7]
  50. 00000082  2F2E FFBA                move.l     -[A7], [A6 - 0x46]
  51. 00000086  2052                     movea.l    A0, [A2]
  52. 00000088  4868 0022                pea.l      [A0 + 0x22]
  53. 0000008C  A8AD                     syscall    PtInRect
  54. 0000008E  7000                     moveq.l    D0, 0x00
  55. 00000090  101F                     move.b     D0, [A7]+
  56. 00000092  5340                     subq.w     D0, 1
  57. 00000094  66DE                     bne        -0x20 /* 00000074 */
  58. label00000096:
  59. 00000096  4227                     clr.b      -[A7]
  60. 00000098  486E FFF8                pea.l      [A6 - 0x8]
  61. 0000009C  2052                     movea.l    A0, [A2]
  62. 0000009E  4868 0022                pea.l      [A0 + 0x22]
  63. 000000A2  486E FFF0                pea.l      [A6 - 0x10]
  64. 000000A6  A8AA                     syscall    SectRect
  65. 000000A8  4217                     clr.b      [A7]
  66. 000000AA  486E FFF8                pea.l      [A6 - 0x8]
  67. 000000AE  486E FFF0                pea.l      [A6 - 0x10]
  68. 000000B2  A8A6                     syscall    EqualRect
  69. 000000B4  4A1F                     tst.b      [A7]+
  70. 000000B6  6702                     beq        +0x4 /* 000000BA */
  71. 000000B8  7A01                     moveq.l    D5, 0x01
  72. label000000BA:
  73. 000000BA  2052                     movea.l    A0, [A2]
  74. 000000BC  2068 0016                movea.l    A0, [A0 + 0x16]
  75. 000000C0  2050                     movea.l    A0, [A0]
  76. 000000C2  43EE FFBE                lea.l      A1, [A6 - 0x42]
  77. 000000C6  700B                     moveq.l    D0, 0x0B
  78. label000000C8:
  79. 000000C8  22D8                     move.l     [A1]+, [A0]+
  80. 000000CA  51C8 FFFC                dbf        D0, -0x6 /* 000000C8 */
  81. 000000CE  32D8                     move.w     [A1]+, [A0]+
  82. 000000D0  206E 0014                movea.l    A0, [A6 + 0x14]
  83. 000000D4  2050                     movea.l    A0, [A0]
  84. 000000D6  2050                     movea.l    A0, [A0]
  85. 000000D8  43EE FFBE                lea.l      A1, [A6 - 0x42]
  86. 000000DC  700B                     moveq.l    D0, 0x0B
  87. label000000DE:
  88. 000000DE  20D9                     move.l     [A0]+, [A1]+
  89. 000000E0  51C8 FFFC                dbf        D0, -0x6 /* 000000DE */
  90. 000000E4  30D9                     move.w     [A0]+, [A1]+
  91. 000000E6  2D54 FFB0                move.l     [A6 - 0x50], [A4]
  92. 000000EA  2D6C 0004 FFB4           move.l     [A6 - 0x4C], [A4 + 0x4]
  93. 000000F0  486E FFB0                pea.l      [A6 - 0x50]
  94. 000000F4  4EBA 06D6                jsr        [PC + 0x6D6 /* 000007CC */]
  95. 000000F8  206E 000C                movea.l    A0, [A6 + 0xC]
  96. 000000FC  30AE FFB2                move.w     [A0], [A6 - 0x4E]
  97. 00000100  226E 0008                movea.l    A1, [A6 + 0x8]
  98. 00000104  32AE FFB0                move.w     [A1], [A6 - 0x50]
  99. 00000108  588F                     addq.l     A7, 4
  100. label0000010A:
  101. 0000010A  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  102. 0000010E  4E5E                     unlink     A6
  103. 00000110  205F                     movea.l    A0, [A7]+
  104. 00000112  4FEF 0010                lea.l      A7, [A7 + 0x10]
  105. 00000116  4ED0                     jmp        [A0]
  106. 00000118  8E56                     or.w       D7, [A6]
  107. 0000011A  616C                     bsr        +0x6E /* 00000188 */
  108. 0000011C  6964                     bvs        +0x66 /* 00000182 */
  109. 0000011E  6174                     bsr        +0x76 /* 00000194 */
  110. 00000120  6550                     bcs        +0x52 /* 00000172 */
  111. 00000122  6978                     bvs        +0x7A /* 0000019C */
  112. 00000124  4D61                     chk.w      D6, -[A1]
  113. 00000126  7000                     moveq.l    D0, 0x00
  114. 00000128  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  115. 0000012C  0000 48E7                ori.b      D0, 0xE7
  116. 00000130  0F18                     btst       [A0]+, D7
  117. 00000132  286E 0014                movea.l    A4, [A6 + 0x14]
  118. 00000136  266E 0010                movea.l    A3, [A6 + 0x10]
  119. 0000013A  3E2C 0004                move.w     D7, [A4 + 0x4]
  120. 0000013E  9E54                     sub.w      D7, [A4]
  121. 00000140  3C2C 0006                move.w     D6, [A4 + 0x6]
  122. 00000144  9C6C 0002                sub.w      D6, [A4 + 0x2]
  123. 00000148  3A2B 0004                move.w     D5, [A3 + 0x4]
  124. 0000014C  9A53                     sub.w      D5, [A3]
  125. 0000014E  382B 0006                move.w     D4, [A3 + 0x6]
  126. 00000152  986B 0002                sub.w      D4, [A3 + 0x2]
  127. 00000156  42A7                     clr.l      -[A7]
  128. 00000158  3F04                     move.w     -[A7], D4
  129. 0000015A  3F06                     move.w     -[A7], D6
  130. 0000015C  A869                     syscall    FixRatio
  131. 0000015E  206E 000C                movea.l    A0, [A6 + 0xC]
  132. 00000162  209F                     move.l     [A0], [A7]+
  133. 00000164  42A7                     clr.l      -[A7]
  134. 00000166  3F05                     move.w     -[A7], D5
  135. 00000168  3F07                     move.w     -[A7], D7
  136. 0000016A  A869                     syscall    FixRatio
  137. 0000016C  206E 0008                movea.l    A0, [A6 + 0x8]
  138. 00000170  209F                     move.l     [A0], [A7]+
  139. label00000172:
  140. 00000172  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  141. 00000176  4E5E                     unlink     A6
  142. 00000178  205F                     movea.l    A0, [A7]+
  143. 0000017A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  144. 0000017E  4ED0                     jmp        [A0]
  145. 00000180  8E43                     or.w       D7, D3
  146. label00000182:
  147. 00000182  616C                     bsr        +0x6E /* 000001F0 */
  148. 00000184  6375                     bls        +0x77 /* 000001FB */
  149. 00000186  6C61                     bge        +0x63 /* 000001E9 */
  150. fn00000188:
  151. 00000188  7465                     moveq.l    D2, 0x65
  152. 0000018A  5363                     subq.w     -[A3], 1
  153. 0000018C  616C                     bsr        +0x6E /* 000001FA */
  154. 0000018E  6500 0000                bcs        +0x2 /* 00000190 */
  155. // begin alternate branch 00000190-0000019A
  156. label00000190:
  157. 00000190  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  158. fn00000194:
  159. 00000194  FCD4 48E7                .extension 0xCD4 <<F/2-3/6>> // unimplemented
  160. 00000198  0108                     btst       A0, D0
  161. // end alternate branch 00000190-0000019A
  162. label00000190: // (misaligned)
  163. 00000192  4E56 FCD4                link       A6, -0x032C
  164. fn00000194: // (misaligned)
  165. 00000196  48E7 0108                movem.l    -[A7], D7,A4
  166. 0000019A  41EE FF00                lea.l      A0, [A6 - 0x100]
  167. // begin alternate branch 0000019C-0000019E
  168. label0000019C:
  169. 0000019C  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  170. // end alternate branch 0000019C-0000019E
  171. label0000019C: // (misaligned)
  172. 0000019E  43ED 0000                lea.l      A1, [A5 + 0x0]
  173. 000001A2  703F                     moveq.l    D0, 0x3F
  174. label000001A4:
  175. 000001A4  20D9                     move.l     [A0]+, [A1]+
  176. 000001A6  51C8 FFFC                dbf        D0, -0x6 /* 000001A4 */
  177. 000001AA  41EE FE00                lea.l      A0, [A6 - 0x200]
  178. 000001AE  43ED 0100                lea.l      A1, [A5 + 0x100]
  179. 000001B2  703F                     moveq.l    D0, 0x3F
  180. label000001B4:
  181. 000001B4  20D9                     move.l     [A0]+, [A1]+
  182. 000001B6  51C8 FFFC                dbf        D0, -0x6 /* 000001B4 */
  183. 000001BA  41EE FD00                lea.l      A0, [A6 - 0x300]
  184. 000001BE  43ED 0200                lea.l      A1, [A5 + 0x200]
  185. 000001C2  703F                     moveq.l    D0, 0x3F
  186. label000001C4:
  187. 000001C4  20D9                     move.l     [A0]+, [A1]+
  188. 000001C6  51C8 FFFC                dbf        D0, -0x6 /* 000001C4 */
  189. 000001CA  7E00                     moveq.l    D7, 0x00
  190. 000001CC  42A7                     clr.l      -[A7]
  191. 000001CE  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  192. 000001D2  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  193. 000001D6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  194. 000001DA  AA46                     syscall    GetNewCWindow
  195. 000001DC  285F                     movea.l    A4, [A7]+
  196. 000001DE  2D7C 7664 6967 FCEC      move.l     [A6 - 0x314], 0x76646967 /* 'vdig' */
  197. 000001E6  42AE FCF0                clr.l      [A6 - 0x310]
  198. 000001EA  42AE FCF4                clr.l      [A6 - 0x30C]
  199. 000001EE  42AE FCF8                clr.l      [A6 - 0x308]
  200. // begin alternate branch 000001F0-000001F8
  201. fn000001F0:
  202. 000001F0  FCF8 42AE                .extension 0xCF8 <<F/2-3/6>> // unimplemented
  203. 000001F4  FCFC 42A7                .extension 0xCFC <<F/2-3/6>> // unimplemented
  204. // end alternate branch 000001F0-000001F8
  205. fn000001F0: // (misaligned)
  206. 000001F2  42AE FCFC                clr.l      [A6 - 0x304]
  207. 000001F6  42A7                     clr.l      -[A7]
  208. 000001F8  486E FCEC                pea.l      [A6 - 0x314]
  209. // begin alternate branch 000001FA-00000206
  210. fn000001FA:
  211. 000001FA  FCEC 486D                .extension 0xCEC <<F/2-3/6>> // unimplemented
  212. 000001FE  0000 3F3C                ori.b      D0, 0x3C /* '<' */
  213. 00000202  0001 42A7                ori.b      D1, 0xA7
  214. // end alternate branch 000001FA-00000206
  215. fn000001FA: // (misaligned)
  216. 000001FC  486D 0000                pea.l      [A5 + 0x0]
  217. 00000200  3F3C 0001                move.w     -[A7], 0x1
  218. 00000204  42A7                     clr.l      -[A7]
  219. 00000206  42A7                     clr.l      -[A7]
  220. 00000208  42A7                     clr.l      -[A7]
  221. 0000020A  7001                     moveq.l    D0, 0x01
  222. 0000020C  A82A                     syscall    ComponentDispatch
  223. 0000020E  2B5F 0000                move.l     [A5 + 0x0], [A7]+
  224. 00000212  42A7                     clr.l      -[A7]
  225. 00000214  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  226. 00000218  7007                     moveq.l    D0, 0x07
  227. 0000021A  A82A                     syscall    ComponentDispatch
  228. 0000021C  2B5F 0000                move.l     [A5 + 0x0], [A7]+
  229. 00000220  42A7                     clr.l      -[A7]
  230. 00000222  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  231. 00000226  4267                     clr.w      -[A7]
  232. 00000228  486E FCE4                pea.l      [A6 - 0x31C]
  233. 0000022C  2F3C 0006 0001           move.l     -[A7], 0x60001
  234. 00000232  7000                     moveq.l    D0, 0x00
  235. 00000234  A82A                     syscall    ComponentDispatch
  236. 00000236  2E1F                     move.l     D7, [A7]+
  237. 00000238  42A7                     clr.l      -[A7]
  238. 0000023A  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  239. 0000023E  4267                     clr.w      -[A7]
  240. 00000240  486E FCDC                pea.l      [A6 - 0x324]
  241. 00000244  2F3C 0006 0002           move.l     -[A7], 0x60002
  242. 0000024A  7000                     moveq.l    D0, 0x00
  243. 0000024C  A82A                     syscall    ComponentDispatch
  244. 0000024E  2E1F                     move.l     D7, [A7]+
  245. 00000250  42A7                     clr.l      -[A7]
  246. 00000252  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  247. 00000256  486E FCDC                pea.l      [A6 - 0x324]
  248. 0000025A  2F3C 0004 0003           move.l     -[A7], 0x40003
  249. 00000260  7000                     moveq.l    D0, 0x00
  250. 00000262  A82A                     syscall    ComponentDispatch
  251. 00000264  2E1F                     move.l     D7, [A7]+
  252. 00000266  42A7                     clr.l      -[A7]
  253. 00000268  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  254. 0000026C  4267                     clr.w      -[A7]
  255. 0000026E  2F3C 0002 002E           move.l     -[A7], 0x2002E
  256. 00000274  7000                     moveq.l    D0, 0x00
  257. 00000276  A82A                     syscall    ComponentDispatch
  258. 00000278  2E1F                     move.l     D7, [A7]+
  259. 0000027A  4A87                     tst.l      D7
  260. 0000027C  661A                     bne        +0x1C /* 00000298 */
  261. 0000027E  42A7                     clr.l      -[A7]
  262. 00000280  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  263. 00000284  486E FCD8                pea.l      [A6 - 0x328]
  264. 00000288  486E FCD4                pea.l      [A6 - 0x32C]
  265. 0000028C  2F3C 0008 001A           move.l     -[A7], 0x8001A
  266. 00000292  7000                     moveq.l    D0, 0x00
  267. 00000294  A82A                     syscall    ComponentDispatch
  268. 00000296  2E1F                     move.l     D7, [A7]+
  269. label00000298:
  270. 00000298  42A7                     clr.l      -[A7]
  271. 0000029A  2F0C                     move.l     -[A7], A4
  272. 0000029C  4EBA 027E                jsr        [PC + 0x27E /* 0000051C */]
  273. 000002A0  2E1F                     move.l     D7, [A7]+
  274. 000002A2  4A87                     tst.l      D7
  275. 000002A4  6616                     bne        +0x18 /* 000002BC */
  276. 000002A6  42A7                     clr.l      -[A7]
  277. 000002A8  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  278. 000002AC  3F3C 0001                move.w     -[A7], 0x1
  279. 000002B0  2F3C 0002 002E           move.l     -[A7], 0x2002E
  280. 000002B6  7000                     moveq.l    D0, 0x00
  281. 000002B8  A82A                     syscall    ComponentDispatch
  282. 000002BA  2E1F                     move.l     D7, [A7]+
  283. label000002BC:
  284. 000002BC  4A87                     tst.l      D7
  285. 000002BE  670C                     beq        +0xE /* 000002CC */
  286. 000002C0  486D 0300                pea.l      [A5 + 0x300]
  287. 000002C4  3F07                     move.w     -[A7], D7
  288. 000002C6  4EAD 0000                jsr        [A5 + 0x0]
  289. 000002CA  5C8F                     addq.l     A7, 6
  290. label000002CC:
  291. 000002CC  2D4C 0012                move.l     [A6 + 0x12], A4
  292. 000002D0  4CDF 1080                movem.l    D7,A4, [A7]+
  293. 000002D4  4E5E                     unlink     A6
  294. 000002D6  205F                     movea.l    A0, [A7]+
  295. 000002D8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  296. 000002DC  4ED0                     jmp        [A0]
  297. 000002DE  8D47 6574                pack       D6, D7, 0x6574
  298. 000002E2  4E65                     move       USP, A5
  299. 000002E4  7756                     moveq.l    D3, 0x56
  300. 000002E6  5769 6E64                subq.w     [A1 + 0x6E64], 3
  301. 000002EA  6F77                     ble        +0x79 /* 00000363 */
  302. 000002EC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  303. 000002F0  FF80                     .invalid   <<F/6/7>>
  304. 000002F2  2F07                     move.l     -[A7], D7
  305. 000002F4  7E00                     moveq.l    D7, 0x00
  306. 000002F6  4A87                     tst.l      D7
  307. 000002F8  6614                     bne        +0x16 /* 0000030E */
  308. 000002FA  42A7                     clr.l      -[A7]
  309. 000002FC  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  310. 00000300  4267                     clr.w      -[A7]
  311. 00000302  2F3C 0002 002E           move.l     -[A7], 0x2002E
  312. 00000308  7000                     moveq.l    D0, 0x00
  313. 0000030A  A82A                     syscall    ComponentDispatch
  314. 0000030C  2E1F                     move.l     D7, [A7]+
  315. label0000030E:
  316. 0000030E  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  317. 00000312  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  318. 00000316  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  319. 0000031A  A925                     syscall    DragWindow
  320. 0000031C  42A7                     clr.l      -[A7]
  321. 0000031E  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  322. 00000322  4EBA 01F8                jsr        [PC + 0x1F8 /* 0000051C */]
  323. 00000326  2E1F                     move.l     D7, [A7]+
  324. 00000328  4A87                     tst.l      D7
  325. 0000032A  6616                     bne        +0x18 /* 00000342 */
  326. 0000032C  42A7                     clr.l      -[A7]
  327. 0000032E  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  328. 00000332  3F3C 0001                move.w     -[A7], 0x1
  329. 00000336  2F3C 0002 002E           move.l     -[A7], 0x2002E
  330. 0000033C  7000                     moveq.l    D0, 0x00
  331. 0000033E  A82A                     syscall    ComponentDispatch
  332. 00000340  2E1F                     move.l     D7, [A7]+
  333. label00000342:
  334. 00000342  4A87                     tst.l      D7
  335. 00000344  6608                     bne        +0xA /* 0000034E */
  336. 00000346  42A7                     clr.l      -[A7]
  337. 00000348  4EBA 02DE                jsr        [PC + 0x2DE /* 00000628 */]
  338. 0000034C  2E1F                     move.l     D7, [A7]+
  339. label0000034E:
  340. 0000034E  4A87                     tst.l      D7
  341. 00000350  670C                     beq        +0xE /* 0000035E */
  342. 00000352  486D 0310                pea.l      [A5 + 0x310]
  343. 00000356  3F07                     move.w     -[A7], D7
  344. 00000358  4EAD 0000                jsr        [A5 + 0x0]
  345. 0000035C  5C8F                     addq.l     A7, 6
  346. label0000035E:
  347. 0000035E  2E1F                     move.l     D7, [A7]+
  348. 00000360  4E5E                     unlink     A6
  349. 00000362  205F                     movea.l    A0, [A7]+
  350. 00000364  4FEF 000C                lea.l      A7, [A7 + 0xC]
  351. 00000368  4ED0                     jmp        [A0]
  352. 0000036A  8F44 7261                pack       D7, D4, 0x7261
  353. 0000036E  6756                     beq        +0x58 /* 000003C6 */
  354. 00000370  6964                     bvs        +0x66 /* 000003D6 */
  355. 00000372  656F                     bcs        +0x71 /* 000003E3 */
  356. 00000374  5769 6E64                subq.w     [A1 + 0x6E64], 3
  357. 00000378  6F77                     ble        +0x79 /* 000003F1 */
  358. 0000037A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  359. 0000037E  FFF8                     .invalid   <<F/7/7>>
  360. 00000380  48E7 0308                movem.l    -[A7], D6,D7,A4
  361. 00000384  286E 000C                movea.l    A4, [A6 + 0xC]
  362. 00000388  7E00                     moveq.l    D7, 0x00
  363. 0000038A  4A87                     tst.l      D7
  364. 0000038C  6614                     bne        +0x16 /* 000003A2 */
  365. 0000038E  42A7                     clr.l      -[A7]
  366. 00000390  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  367. 00000394  4267                     clr.w      -[A7]
  368. 00000396  2F3C 0002 002E           move.l     -[A7], 0x2002E
  369. 0000039C  7000                     moveq.l    D0, 0x00
  370. 0000039E  A82A                     syscall    ComponentDispatch
  371. 000003A0  2E1F                     move.l     D7, [A7]+
  372. label000003A2:
  373. 000003A2  42A7                     clr.l      -[A7]
  374. 000003A4  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  375. 000003A8  4267                     clr.w      -[A7]
  376. 000003AA  486E FFF8                pea.l      [A6 - 0x8]
  377. 000003AE  2F3C 0006 0001           move.l     -[A7], 0x60001
  378. 000003B4  7000                     moveq.l    D0, 0x00
  379. 000003B6  A82A                     syscall    ComponentDispatch
  380. 000003B8  2E1F                     move.l     D7, [A7]+
  381. 000003BA  42A7                     clr.l      -[A7]
  382. 000003BC  2F0C                     move.l     -[A7], A4
  383. 000003BE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  384. 000003C2  486E FFF8                pea.l      [A6 - 0x8]
  385. label000003C6:
  386. 000003C6  A92B                     syscall    GrowWindow
  387. 000003C8  2C1F                     move.l     D6, [A7]+
  388. 000003CA  4A86                     tst.l      D6
  389. 000003CC  661A                     bne        +0x1C /* 000003E8 */
  390. 000003CE  4A87                     tst.l      D7
  391. 000003D0  665E                     bne        +0x60 /* 00000430 */
  392. 000003D2  42A7                     clr.l      -[A7]
  393. 000003D4  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  394. // begin alternate branch 000003D6-000003DA
  395. label000003D6:
  396. 000003D6  0000 4267                ori.b      D0, 0x67 /* 'g' */
  397. // end alternate branch 000003D6-000003DA
  398. label000003D6: // (misaligned)
  399. 000003D8  4267                     clr.w      -[A7]
  400. 000003DA  2F3C 0002 002E           move.l     -[A7], 0x2002E
  401. 000003E0  7000                     moveq.l    D0, 0x00
  402. 000003E2  A82A                     syscall    ComponentDispatch
  403. 000003E4  2E1F                     move.l     D7, [A7]+
  404. 000003E6  6048                     bra        +0x4A /* 00000430 */
  405. label000003E8:
  406. 000003E8  2F0C                     move.l     -[A7], A4
  407. 000003EA  4267                     clr.w      -[A7]
  408. 000003EC  2F06                     move.l     -[A7], D6
  409. 000003EE  A86B                     syscall    LoWord
  410. 000003F0  4267                     clr.w      -[A7]
  411. 000003F2  2F06                     move.l     -[A7], D6
  412. 000003F4  A86A                     syscall    HiWord
  413. 000003F6  1F3C 0001                move.b     -[A7], 0x1
  414. 000003FA  A91D                     syscall    SizeWindow
  415. 000003FC  42A7                     clr.l      -[A7]
  416. 000003FE  2F0C                     move.l     -[A7], A4
  417. 00000400  4EBA 011A                jsr        [PC + 0x11A /* 0000051C */]
  418. 00000404  2E1F                     move.l     D7, [A7]+
  419. 00000406  4A87                     tst.l      D7
  420. 00000408  6616                     bne        +0x18 /* 00000420 */
  421. 0000040A  42A7                     clr.l      -[A7]
  422. 0000040C  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  423. 00000410  3F3C 0001                move.w     -[A7], 0x1
  424. 00000414  2F3C 0002 002E           move.l     -[A7], 0x2002E
  425. 0000041A  7000                     moveq.l    D0, 0x00
  426. 0000041C  A82A                     syscall    ComponentDispatch
  427. 0000041E  2E1F                     move.l     D7, [A7]+
  428. label00000420:
  429. 00000420  4A87                     tst.l      D7
  430. 00000422  670C                     beq        +0xE /* 00000430 */
  431. 00000424  486D 0320                pea.l      [A5 + 0x320]
  432. 00000428  3F07                     move.w     -[A7], D7
  433. 0000042A  4EAD 0000                jsr        [A5 + 0x0]
  434. 0000042E  5C8F                     addq.l     A7, 6
  435. label00000430:
  436. 00000430  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  437. 00000434  4E5E                     unlink     A6
  438. 00000436  205F                     movea.l    A0, [A7]+
  439. 00000438  508F                     addq.l     A7, 8
  440. 0000043A  4ED0                     jmp        [A0]
  441. 0000043C  8F47 726F                pack       D7, D7, 0x726F
  442. 00000440  7756                     moveq.l    D3, 0x56
  443. 00000442  6964                     bvs        +0x66 /* 000004A8 */
  444. 00000444  656F                     bcs        +0x71 /* 000004B5 */
  445. 00000446  5769 6E64                subq.w     [A1 + 0x6E64], 3
  446. 0000044A  6F77                     ble        +0x79 /* 000004C3 */
  447. 0000044C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  448. 00000450  0000 2F07                ori.b      D0, 0x7
  449. 00000454  7E00                     moveq.l    D7, 0x00
  450. 00000456  42A7                     clr.l      -[A7]
  451. 00000458  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  452. 0000045C  4267                     clr.w      -[A7]
  453. 0000045E  2F3C 0002 002E           move.l     -[A7], 0x2002E
  454. 00000464  7000                     moveq.l    D0, 0x00
  455. 00000466  A82A                     syscall    ComponentDispatch
  456. 00000468  2E1F                     move.l     D7, [A7]+
  457. 0000046A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  458. 0000046E  A914                     syscall    DisposeWindow
  459. 00000470  4267                     clr.w      -[A7]
  460. 00000472  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  461. 00000476  7008                     moveq.l    D0, 0x08
  462. 00000478  A82A                     syscall    ComponentDispatch
  463. 0000047A  2E2E FFFC                move.l     D7, [A6 - 0x4]
  464. 0000047E  4E5E                     unlink     A6
  465. 00000480  2E9F                     move.l     [A7], [A7]+
  466. 00000482  4E75                     rts
  467. 00000484  9244                     sub.w      D1, D4
  468. 00000486  6973                     bvs        +0x75 /* 000004FB */
  469. 00000488  706F                     moveq.l    D0, 0x6F
  470. 0000048A  7365                     moveq.l    D1, 0x65
  471. 0000048C  5669 6465                addq.w     [A1 + 0x6465], 3
  472. 00000490  6F57                     ble        +0x59 /* 000004E9 */
  473. 00000492  696E                     bvs        +0x70 /* 00000502 */
  474. 00000494  646F                     bcc        +0x71 /* 00000505 */
  475. 00000496  7700                     moveq.l    D3, 0x00
  476. 00000498  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  477. 0000049C  0000 2F07                ori.b      D0, 0x7
  478. 000004A0  7E00                     moveq.l    D7, 0x00
  479. 000004A2  42A7                     clr.l      -[A7]
  480. 000004A4  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  481. label000004A8:
  482. 000004A8  4267                     clr.w      -[A7]
  483. 000004AA  2F3C 0002 002E           move.l     -[A7], 0x2002E
  484. 000004B0  7000                     moveq.l    D0, 0x00
  485. 000004B2  A82A                     syscall    ComponentDispatch
  486. 000004B4  2E1F                     move.l     D7, [A7]+
  487. 000004B6  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  488. 000004BA  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  489. 000004BE  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  490. 000004C2  1F2E 0008                move.b     -[A7], [A6 + 0x8]
  491. 000004C6  A91B                     syscall    MoveWindow
  492. 000004C8  42A7                     clr.l      -[A7]
  493. 000004CA  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  494. 000004CE  4EBA 004C                jsr        [PC + 0x4C /* 0000051C */]
  495. 000004D2  2E1F                     move.l     D7, [A7]+
  496. 000004D4  4A87                     tst.l      D7
  497. 000004D6  6616                     bne        +0x18 /* 000004EE */
  498. 000004D8  42A7                     clr.l      -[A7]
  499. 000004DA  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  500. 000004DE  3F3C 0001                move.w     -[A7], 0x1
  501. 000004E2  2F3C 0002 002E           move.l     -[A7], 0x2002E
  502. 000004E8  7000                     moveq.l    D0, 0x00
  503. 000004EA  A82A                     syscall    ComponentDispatch
  504. 000004EC  2E1F                     move.l     D7, [A7]+
  505. label000004EE:
  506. 000004EE  4A87                     tst.l      D7
  507. 000004F0  670C                     beq        +0xE /* 000004FE */
  508. 000004F2  486D 0330                pea.l      [A5 + 0x330]
  509. 000004F6  3F07                     move.w     -[A7], D7
  510. 000004F8  4EAD 0000                jsr        [A5 + 0x0]
  511. 000004FC  5C8F                     addq.l     A7, 6
  512. label000004FE:
  513. 000004FE  2E1F                     move.l     D7, [A7]+
  514. 00000500  4E5E                     unlink     A6
  515. label00000502:
  516. 00000502  205F                     movea.l    A0, [A7]+
  517. 00000504  4FEF 000A                lea.l      A7, [A7 + 0xA]
  518. 00000508  4ED0                     jmp        [A0]
  519. 0000050A  8F4D 6F76                pack       -[A7], -[A5], 0x6F76
  520. 0000050E  6556                     bcs        +0x58 /* 00000566 */
  521. 00000510  6964                     bvs        +0x66 /* 00000576 */
  522. 00000512  656F                     bcs        +0x71 /* 00000583 */
  523. 00000514  5769 6E64                subq.w     [A1 + 0x6E64], 3
  524. 00000518  6F77                     ble        +0x79 /* 00000591 */
  525. 0000051A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  526. // begin alternate branch 0000051C-00000520
  527. fn0000051C:
  528. 0000051C  4E56 FF8A                link       A6, -0x0076
  529. // end alternate branch 0000051C-00000520
  530. fn0000051C: // (misaligned)
  531. 0000051E  FF8A                     .invalid   <<F/6/7>>
  532. 00000520  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  533. 00000524  286E 0008                movea.l    A4, [A6 + 0x8]
  534. 00000528  7E00                     moveq.l    D7, 0x00
  535. 0000052A  7032                     moveq.l    D0, 0x32
  536. 0000052C  A122                     syscall    NewHandle, flags=1
  537. 0000052E  2D48 FF8A                move.l     [A6 - 0x76], A0
  538. 00000532  226C 0002                movea.l    A1, [A4 + 0x2]
  539. 00000536  2251                     movea.l    A1, [A1]
  540. 00000538  2050                     movea.l    A0, [A0]
  541. 0000053A  700B                     moveq.l    D0, 0x0B
  542. label0000053C:
  543. 0000053C  20D9                     move.l     [A0]+, [A1]+
  544. 0000053E  51C8 FFFC                dbf        D0, -0x6 /* 0000053C */
  545. 00000542  30D9                     move.w     [A0]+, [A1]+
  546. 00000544  486E FF8A                pea.l      [A6 - 0x76]
  547. 00000548  486C 0010                pea.l      [A4 + 0x10]
  548. 0000054C  486E FFFE                pea.l      [A6 - 0x2]
  549. 00000550  486E FFFC                pea.l      [A6 - 0x4]
  550. 00000554  4EBA FAAA                jsr        [PC - 0x556 /* 00000000 */]
  551. 00000558  42A7                     clr.l      -[A7]
  552. 0000055A  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  553. 0000055E  3F3C 0001                move.w     -[A7], 0x1
  554. 00000562  A869                     syscall    FixRatio
  555. 00000564  2C1F                     move.l     D6, [A7]+
  556. label00000566:
  557. 00000566  42A7                     clr.l      -[A7]
  558. 00000568  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  559. 0000056C  3F3C 0001                move.w     -[A7], 0x1
  560. 00000570  A869                     syscall    FixRatio
  561. 00000572  2A1F                     move.l     D5, [A7]+
  562. 00000574  4A87                     tst.l      D7
  563. label00000576:
  564. 00000576  6616                     bne        +0x18 /* 0000058E */
  565. 00000578  42A7                     clr.l      -[A7]
  566. 0000057A  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  567. 0000057E  486E FFF4                pea.l      [A6 - 0xC]
  568. 00000582  2F3C 0004 0004           move.l     -[A7], 0x40004
  569. 00000588  7000                     moveq.l    D0, 0x00
  570. 0000058A  A82A                     syscall    ComponentDispatch
  571. 0000058C  2E1F                     move.l     D7, [A7]+
  572. label0000058E:
  573. 0000058E  486E FFC0                pea.l      [A6 - 0x40]
  574. 00000592  486E FFF4                pea.l      [A6 - 0xC]
  575. 00000596  486C 0010                pea.l      [A4 + 0x10]
  576. 0000059A  701E                     moveq.l    D0, 0x1E
  577. 0000059C  ABC2                     syscall    QTMatrixMathDispatch
  578. 0000059E  4A2D 0000                tst.b      [A5 + 0x0]
  579. 000005A2  670A                     beq        +0xC /* 000005AE */
  580. 000005A4  202E FFC0                move.l     D0, [A6 - 0x40]
  581. 000005A8  4480                     neg.l      D0
  582. 000005AA  2D40 FFC0                move.l     [A6 - 0x40], D0
  583. label000005AE:
  584. 000005AE  4A2D 0000                tst.b      [A5 + 0x0]
  585. 000005B2  670A                     beq        +0xC /* 000005BE */
  586. 000005B4  202E FFD0                move.l     D0, [A6 - 0x30]
  587. 000005B8  4480                     neg.l      D0
  588. 000005BA  2D40 FFD0                move.l     [A6 - 0x30], D0
  589. label000005BE:
  590. 000005BE  486E FFC0                pea.l      [A6 - 0x40]
  591. 000005C2  2F06                     move.l     -[A7], D6
  592. 000005C4  2F05                     move.l     -[A7], D5
  593. 000005C6  701A                     moveq.l    D0, 0x1A
  594. 000005C8  ABC2                     syscall    QTMatrixMathDispatch
  595. 000005CA  4A87                     tst.l      D7
  596. 000005CC  6620                     bne        +0x22 /* 000005EE */
  597. 000005CE  42A7                     clr.l      -[A7]
  598. 000005D0  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  599. 000005D4  2F2E FF8A                move.l     -[A7], [A6 - 0x76]
  600. 000005D8  486C 0010                pea.l      [A4 + 0x10]
  601. 000005DC  486E FFC0                pea.l      [A6 - 0x40]
  602. 000005E0  42A7                     clr.l      -[A7]
  603. 000005E2  2F3C 0010 002D           move.l     -[A7], 0x10002D
  604. 000005E8  7000                     moveq.l    D0, 0x00
  605. 000005EA  A82A                     syscall    ComponentDispatch
  606. 000005EC  2E1F                     move.l     D7, [A7]+
  607. label000005EE:
  608. 000005EE  206E FF8A                movea.l    A0, [A6 - 0x76]
  609. 000005F2  A023                     syscall    DisposHandle/DisposeHandle
  610. 000005F4  4A87                     tst.l      D7
  611. 000005F6  670C                     beq        +0xE /* 00000604 */
  612. 000005F8  486D 0340                pea.l      [A5 + 0x340]
  613. 000005FC  3F07                     move.w     -[A7], D7
  614. 000005FE  4EAD 0000                jsr        [A5 + 0x0]
  615. 00000602  5C8F                     addq.l     A7, 6
  616. label00000604:
  617. 00000604  2D47 000C                move.l     [A6 + 0xC], D7
  618. 00000608  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  619. 0000060C  4E5E                     unlink     A6
  620. 0000060E  2E9F                     move.l     [A7], [A7]+
  621. 00000610  4E75                     rts
  622. 00000612  9355                     sub.w      [A5], D1
  623. 00000614  7064                     moveq.l    D0, 0x64
  624. 00000616  6174                     bsr        +0x76 /* 0000068C */
  625. 00000618  6556                     bcs        +0x58 /* 00000670 */
  626. 0000061A  4444                     neg.w      D4
  627. 0000061C  6573                     bcs        +0x75 /* 00000691 */
  628. 0000061E  7469                     moveq.l    D2, 0x69
  629. 00000620  6E61                     bgt        +0x63 /* 00000683 */
  630. 00000622  7469                     moveq.l    D2, 0x69
  631. 00000624  6F6E                     ble        +0x70 /* 00000694 */
  632. 00000626  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  633. // begin alternate branch 00000628-0000062C
  634. fn00000628:
  635. 00000628  4E56 FFD0                link       A6, -0x0030
  636. // end alternate branch 00000628-0000062C
  637. fn00000628: // (misaligned)
  638. 0000062A  FFD0                     .invalid   <<F/7/7>>
  639. 0000062C  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  640. 00000630  7024                     moveq.l    D0, 0x24
  641. 00000632  A11E                     syscall    NewPtr, flags=1
  642. 00000634  2648                     movea.l    A3, A0
  643. 00000636  703A                     moveq.l    D0, 0x3A
  644. 00000638  A122                     syscall    NewHandle, flags=1
  645. 0000063A  2848                     movea.l    A4, A0
  646. 0000063C  42A7                     clr.l      -[A7]
  647. 0000063E  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  648. 00000642  486E FFF4                pea.l      [A6 - 0xC]
  649. 00000646  486E FFD0                pea.l      [A6 - 0x30]
  650. 0000064A  2F3C 0008 0017           move.l     -[A7], 0x80017
  651. 00000650  7000                     moveq.l    D0, 0x00
  652. 00000652  A82A                     syscall    ComponentDispatch
  653. 00000654  2E1F                     move.l     D7, [A7]+
  654. 00000656  42A7                     clr.l      -[A7]
  655. 00000658  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  656. 0000065C  486E FFF4                pea.l      [A6 - 0xC]
  657. 00000660  486E FFD0                pea.l      [A6 - 0x30]
  658. 00000664  2F3C 0008 0017           move.l     -[A7], 0x80017
  659. 0000066A  7000                     moveq.l    D0, 0x00
  660. 0000066C  A82A                     syscall    ComponentDispatch
  661. 0000066E  2E1F                     move.l     D7, [A7]+
  662. label00000670:
  663. 00000670  486E FFF8                pea.l      [A6 - 0x8]
  664. 00000674  2F3C 0000 FF38           move.l     -[A7], 0xFF38
  665. 0000067A  A880                     syscall    SetPt
  666. 0000067C  42AE FFFC                clr.l      [A6 - 0x4]
  667. 00000680  42A7                     clr.l      -[A7]
  668. 00000682  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  669. 00000686  486E FFE8                pea.l      [A6 - 0x18]
  670. 0000068A  486E FFD0                pea.l      [A6 - 0x30]
  671. // begin alternate branch 0000068C-0000068E
  672. fn0000068C:
  673. 0000068C  FFD0                     .invalid   <<F/7/7>>
  674. // end alternate branch 0000068C-0000068E
  675. fn0000068C: // (misaligned)
  676. 0000068E  2F3C 0008 0017           move.l     -[A7], 0x80017
  677. label00000694:
  678. 00000694  7000                     moveq.l    D0, 0x00
  679. 00000696  A82A                     syscall    ComponentDispatch
  680. 00000698  2E1F                     move.l     D7, [A7]+
  681. 0000069A  486E FFEC                pea.l      [A6 - 0x14]
  682. 0000069E  2F3C 0000 FE70           move.l     -[A7], 0xFE70
  683. 000006A4  A880                     syscall    SetPt
  684. 000006A6  42AE FFF0                clr.l      [A6 - 0x10]
  685. 000006AA  42A7                     clr.l      -[A7]
  686. 000006AC  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  687. 000006B0  486E FFDC                pea.l      [A6 - 0x24]
  688. 000006B4  486E FFD0                pea.l      [A6 - 0x30]
  689. 000006B8  2F3C 0008 0017           move.l     -[A7], 0x80017
  690. 000006BE  7000                     moveq.l    D0, 0x00
  691. 000006C0  A82A                     syscall    ComponentDispatch
  692. 000006C2  2E1F                     move.l     D7, [A7]+
  693. 000006C4  486E FFE0                pea.l      [A6 - 0x20]
  694. 000006C8  2F3C 0000 FDA8           move.l     -[A7], 0xFDA8
  695. 000006CE  A880                     syscall    SetPt
  696. 000006D0  42AE FFE4                clr.l      [A6 - 0x1C]
  697. 000006D4  2054                     movea.l    A0, [A4]
  698. 000006D6  30BC 0003                move.w     [A0], 0x3
  699. 000006DA  41EE FFF4                lea.l      A0, [A6 - 0xC]
  700. 000006DE  700A                     moveq.l    D0, 0x0A
  701. 000006E0  D094                     add.l      D0, [A4]
  702. 000006E2  2240                     movea.l    A1, D0
  703. 000006E4  700C                     moveq.l    D0, 0x0C
  704. 000006E6  A02E                     syscall    BlockMove/BlockMoveData
  705. 000006E8  41EE FFE8                lea.l      A0, [A6 - 0x18]
  706. 000006EC  7016                     moveq.l    D0, 0x16
  707. 000006EE  D094                     add.l      D0, [A4]
  708. 000006F0  2240                     movea.l    A1, D0
  709. 000006F2  700C                     moveq.l    D0, 0x0C
  710. 000006F4  A02E                     syscall    BlockMove/BlockMoveData
  711. 000006F6  41EE FFDC                lea.l      A0, [A6 - 0x24]
  712. 000006FA  7022                     moveq.l    D0, 0x22
  713. 000006FC  D094                     add.l      D0, [A4]
  714. 000006FE  2240                     movea.l    A1, D0
  715. 00000700  700C                     moveq.l    D0, 0x0C
  716. 00000702  A02E                     syscall    BlockMove/BlockMoveData
  717. 00000704  42A7                     clr.l      -[A7]
  718. 00000706  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  719. 0000070A  2F0C                     move.l     -[A7], A4
  720. 0000070C  2F3C 0004 0041           move.l     -[A7], 0x40041
  721. 00000712  7000                     moveq.l    D0, 0x00
  722. 00000714  A82A                     syscall    ComponentDispatch
  723. 00000716  2E1F                     move.l     D7, [A7]+
  724. 00000718  7C00                     moveq.l    D6, 0x00
  725. 0000071A  6000 008A                bra        +0x8C /* 000007A6 */
  726. label0000071E:
  727. 0000071E  42A7                     clr.l      -[A7]
  728. 00000720  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  729. 00000724  3F3C 0001                move.w     -[A7], 0x1
  730. 00000728  2F3C 0002 0042           move.l     -[A7], 0x20042
  731. 0000072E  7000                     moveq.l    D0, 0x00
  732. 00000730  A82A                     syscall    ComponentDispatch
  733. 00000732  2E1F                     move.l     D7, [A7]+
  734. label00000734:
  735. 00000734  42A7                     clr.l      -[A7]
  736. 00000736  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  737. 0000073A  4267                     clr.w      -[A7]
  738. 0000073C  2F3C 0002 0043           move.l     -[A7], 0x20043
  739. 00000742  7000                     moveq.l    D0, 0x00
  740. 00000744  A82A                     syscall    ComponentDispatch
  741. 00000746  4A9F                     tst.l      [A7]+
  742. 00000748  67EA                     beq        -0x14 /* 00000734 */
  743. 0000074A  42A7                     clr.l      -[A7]
  744. 0000074C  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  745. 00000750  3F3C 0002                move.w     -[A7], 0x2
  746. 00000754  2F3C 0002 0042           move.l     -[A7], 0x20042
  747. 0000075A  7000                     moveq.l    D0, 0x00
  748. 0000075C  A82A                     syscall    ComponentDispatch
  749. 0000075E  2E1F                     move.l     D7, [A7]+
  750. label00000760:
  751. 00000760  42A7                     clr.l      -[A7]
  752. 00000762  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  753. 00000766  3F3C 0001                move.w     -[A7], 0x1
  754. 0000076A  2F3C 0002 0043           move.l     -[A7], 0x20043
  755. 00000770  7000                     moveq.l    D0, 0x00
  756. 00000772  A82A                     syscall    ComponentDispatch
  757. 00000774  4A9F                     tst.l      [A7]+
  758. 00000776  67E8                     beq        -0x16 /* 00000760 */
  759. 00000778  42A7                     clr.l      -[A7]
  760. 0000077A  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  761. 0000077E  4267                     clr.w      -[A7]
  762. 00000780  2F3C 0002 0042           move.l     -[A7], 0x20042
  763. 00000786  7000                     moveq.l    D0, 0x00
  764. 00000788  A82A                     syscall    ComponentDispatch
  765. 0000078A  2E1F                     move.l     D7, [A7]+
  766. label0000078C:
  767. 0000078C  42A7                     clr.l      -[A7]
  768. 0000078E  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  769. 00000792  3F3C 0002                move.w     -[A7], 0x2
  770. 00000796  2F3C 0002 0043           move.l     -[A7], 0x20043
  771. 0000079C  7000                     moveq.l    D0, 0x00
  772. 0000079E  A82A                     syscall    ComponentDispatch
  773. 000007A0  4A9F                     tst.l      [A7]+
  774. 000007A2  67E8                     beq        -0x16 /* 0000078C */
  775. 000007A4  5246                     addq.w     D6, 1
  776. label000007A6:
  777. 000007A6  0C46 001E                cmpi.w     D6, 0x1E
  778. 000007AA  6D00 FF72                blt        -0x8C /* 0000071E */
  779. 000007AE  204B                     movea.l    A0, A3
  780. 000007B0  A01F                     syscall    DisposPtr/DisposePtr
  781. 000007B2  204C                     movea.l    A0, A4
  782. 000007B4  A023                     syscall    DisposHandle/DisposeHandle
  783. 000007B6  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  784. 000007BA  4E5E                     unlink     A6
  785. 000007BC  4E75                     rts
  786. 000007BE  8B54                     or.w       [A4], D5
  787. 000007C0  6573                     bcs        +0x75 /* 00000835 */
  788. 000007C2  7442                     moveq.l    D2, 0x42
  789. 000007C4  7566                     moveq.l    D2, 0x66
  790. 000007C6  6665                     bne        +0x67 /* 0000082D */
  791. 000007C8  7273                     moveq.l    D1, 0x73
  792. 000007CA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  793. // begin alternate branch 000007CC-000007D0
  794. fn000007CC:
  795. 000007CC  4E56 FFFC                link       A6, -0x0004
  796. // end alternate branch 000007CC-000007D0
  797. fn000007CC: // (misaligned)
  798. 000007CE  FFFC                     .invalid   <<F/7/7>>
  799. 000007D0  2F0C                     move.l     -[A7], A4
  800. 000007D2  286E 0008                movea.l    A4, [A6 + 0x8]
  801. 000007D6  3D54 FFFC                move.w     [A6 - 0x4], [A4]
  802. 000007DA  3D6C 0002 FFFE           move.w     [A6 - 0x2], [A4 + 0x2]
  803. 000007E0  486E FFFC                pea.l      [A6 - 0x4]
  804. 000007E4  A870                     syscall    LocalToGlobal
  805. 000007E6  38AE FFFC                move.w     [A4], [A6 - 0x4]
  806. 000007EA  396E FFFE 0002           move.w     [A4 + 0x2], [A6 - 0x2]
  807. 000007F0  3D6C 0004 FFFC           move.w     [A6 - 0x4], [A4 + 0x4]
  808. 000007F6  3D6C 0006 FFFE           move.w     [A6 - 0x2], [A4 + 0x6]
  809. 000007FC  486E FFFC                pea.l      [A6 - 0x4]
  810. 00000800  A870                     syscall    LocalToGlobal
  811. 00000802  396E FFFC 0004           move.w     [A4 + 0x4], [A6 - 0x4]
  812. 00000808  396E FFFE 0006           move.w     [A4 + 0x6], [A6 - 0x2]
  813. 0000080E  285F                     movea.l    A4, [A7]+
  814. 00000810  4E5E                     unlink     A6
  815. 00000812  4E75                     rts
  816. 00000814  9152                     sub.w      [A2], D0
  817. 00000816  6563                     bcs        +0x65 /* 0000087B */
  818. 00000818  744C                     moveq.l    D2, 0x4C
  819. 0000081A  6F63                     ble        +0x65 /* 0000087F */
  820. 0000081C  616C                     bsr        +0x6E /* 0000088A */
  821. 0000081E  546F 476C                addq.w     [A7 + 0x476C], 2
  822. 00000822  6F62                     ble        +0x64 /* 00000886 */
  823. 00000824  616C                     bsr        +0x6E /* 00000892 */
  824. 00000826  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  825. 0000082A  FFFC                     .invalid   <<F/7/7>>
  826. 0000082C  2F0C                     move.l     -[A7], A4
  827. 0000082E  286E 0008                movea.l    A4, [A6 + 0x8]
  828. 00000832  3D54 FFFC                move.w     [A6 - 0x4], [A4]
  829. 00000836  3D6C 0002 FFFE           move.w     [A6 - 0x2], [A4 + 0x2]
  830. 0000083C  486E FFFC                pea.l      [A6 - 0x4]
  831. 00000840  A871                     syscall    GlobalToLocal
  832. 00000842  38AE FFFC                move.w     [A4], [A6 - 0x4]
  833. 00000846  396E FFFE 0002           move.w     [A4 + 0x2], [A6 - 0x2]
  834. 0000084C  3D6C 0004 FFFC           move.w     [A6 - 0x4], [A4 + 0x4]
  835. 00000852  3D6C 0006 FFFE           move.w     [A6 - 0x2], [A4 + 0x6]
  836. 00000858  486E FFFC                pea.l      [A6 - 0x4]
  837. 0000085C  A871                     syscall    GlobalToLocal
  838. 0000085E  396E FFFC 0004           move.w     [A4 + 0x4], [A6 - 0x4]
  839. 00000864  396E FFFE 0006           move.w     [A4 + 0x6], [A6 - 0x2]
  840. 0000086A  285F                     movea.l    A4, [A7]+
  841. 0000086C  4E5E                     unlink     A6
  842. 0000086E  4E75                     rts
  843. 00000870  9152                     sub.w      [A2], D0
  844. 00000872  6563                     bcs        +0x65 /* 000008D7 */
  845. 00000874  7447                     moveq.l    D2, 0x47
  846. 00000876  6C6F                     bge        +0x71 /* 000008E7 */
  847. 00000878  6261                     bhi        +0x63 /* 000008DB */
  848. 0000087A  6C54                     bge        +0x56 /* 000008D0 */
  849. 0000087C  6F4C                     ble        +0x4E /* 000008CA */
  850. 0000087E  6F63                     ble        +0x65 /* 000008E3 */
  851. 00000880  616C                     bsr        +0x6E /* 000008EE */
  852. 00000882  0000 206F                ori.b      D0, 0x6F /* 'o' */
  853. label00000886:
  854. 00000886  0004 43E8                ori.b      D4, 0xE8
  855. fn0000088A:
  856. 0000088A  0001 7000                ori.b      D1, 0x0
  857. label0000088E:
  858. 0000088E  1210                     move.b     D1, [A0]
  859. 00000890  10C0                     move.b     [A0]+, D0
  860. fn00000892:
  861. 00000892  1001                     move.b     D0, D1
  862. 00000894  66F8                     bne        -0x6 /* 0000088E */
  863. 00000896  91C9                     sub.l      A0, A1
  864. 00000898  2008                     move.l     D0, A0
  865. 0000089A  1300                     move.b     -[A1], D0
  866. 0000089C  2009                     move.l     D0, A1
  867. 0000089E  4E75                     rts
  868. 000008A0  206F 0004                movea.l    A0, [A7 + 0x4]
  869. 000008A4  7000                     moveq.l    D0, 0x00
  870. 000008A6  1010                     move.b     D0, [A0]
  871. 000008A8  6004                     bra        +0x6 /* 000008AE */
  872. label000008AA:
  873. 000008AA  10E8 0001                move.b     [A0]+, [A0 + 0x1]
  874. label000008AE:
  875. 000008AE  51C8 FFFA                dbf        D0, -0x8 /* 000008AA */
  876. 000008B2  4210                     clr.b      [A0]
  877. 000008B4  202F 0004                move.l     D0, [A7 + 0x4]
  878. 000008B8  4E75                     rts
  879. 000008BA  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  880. 000008BE  6B22                     bmi        +0x24 /* 000008E2 */
  881. 000008C0  303C 0090                move.w     D0, 0x90
  882. 000008C4  A346                     syscall    GetOSTrapAddress, flags=3
  883. 000008C6  2248                     movea.l    A1, A0
  884. 000008C8  303C 009F                move.w     D0, 0x9F
  885. // begin alternate branch 000008CA-000008D0
  886. label000008CA:
  887. 000008CA  009F A746 B3C8           ori.l      [A7]+, 0xA746B3C8
  888. // end alternate branch 000008CA-000008D0
  889. label000008CA: // (misaligned)
  890. 000008CC  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  891. 000008CE  B3C8                     cmpa.l     A1, A0
  892. label000008D0:
  893. 000008D0  6710                     beq        +0x12 /* 000008E2 */
  894. 000008D2  225F                     movea.l    A1, [A7]+
  895. 000008D4  205F                     movea.l    A0, [A7]+
  896. 000008D6  301F                     move.w     D0, [A7]+
  897. 000008D8  2F09                     move.l     -[A7], A1
  898. 000008DA  A090                     syscall    SysEnvirons
  899. 000008DC  3F40 0004                move.w     [A7 + 0x4], D0
  900. 000008E0  4E75                     rts
  901. label000008E2:
  902. 000008E2  206F 0004                movea.l    A0, [A7 + 0x4]
  903. 000008E6  303C 0001                move.w     D0, 0x1
  904. 000008EA  2248                     movea.l    A1, A0
  905. 000008EC  6006                     bra        +0x8 /* 000008F4 */
  906. fn000008EE:
  907. 000008EE  0313                     btst       [A3], D1
  908. 000008F0  0B02                     btst       D2, D5
  909. 000008F2  0100                     btst       D0, D0
  910. label000008F4:
  911. 000008F4  303C 0010                move.w     D0, 0x10
  912. 000008F8  E240                     asr        D0.w, 1
  913. 000008FA  5340                     subq.w     D0, 1
  914. label000008FC:
  915. 000008FC  4258                     clr.w      [A0]+
  916. 000008FE  51C8 FFFC                dbf        D0, -0x6 /* 000008FC */
  917. 00000902  32BC 0001                move.w     [A1], 0x1
  918. 00000906  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  919. 0000090A  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  920. 00000910  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  921. 00000916  6742                     beq        +0x44 /* 0000095A */
  922. 00000918  4A28 0008                tst.b      [A0 + 0x8]
  923. 0000091C  6E20                     bgt        +0x22 /* 0000093E */
  924. 0000091E  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  925. 00000924  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  926. 00000928  6B30                     bmi        +0x32 /* 0000095A */
  927. 0000092A  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  928. 00000930  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  929. 00000934  6A24                     bpl        +0x26 /* 0000095A */
  930. 00000936  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  931. 0000093C  601C                     bra        +0x1E /* 0000095A */
  932. label0000093E:
  933. 0000093E  4269 0002                clr.w      [A1 + 0x2]
  934. 00000942  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  935. 00000948  6E10                     bgt        +0x12 /* 0000095A */
  936. 0000094A  6708                     beq        +0xA /* 00000954 */
  937. 0000094C  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  938. 00000952  6006                     bra        +0x8 /* 0000095A */
  939. label00000954:
  940. 00000954  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  941. label0000095A:
  942. 0000095A  4269 0004                clr.w      [A1 + 0x4]
  943. 0000095E  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  944. 00000964  6E0A                     bgt        +0xC /* 00000970 */
  945. 00000966  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  946. 0000096A  5240                     addq.w     D0, 1
  947. 0000096C  1340 0007                move.b     [A1 + 0x7], D0
  948. label00000970:
  949. 00000970  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  950. 00000974  6B0E                     bmi        +0x10 /* 00000984 */
  951. 00000976  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  952. 0000097C  6706                     beq        +0x8 /* 00000984 */
  953. 0000097E  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  954. label00000984:
  955. 00000984  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  956. 0000098A  6206                     bhi        +0x8 /* 00000992 */
  957. 0000098C  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  958. label00000992:
  959. 00000992  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  960. 00000996  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 000008F3, value 0x303C00 '0<\0', cstring "" */]
  961. 0000099A  323C 0004                move.w     D1, 0x4
  962. label0000099E:
  963. 0000099E  B020                     cmp.b      D0, -[A0]
  964. 000009A0  57C9 FFFC                dbeq       D1, -0x6 /* 0000099E */
  965. 000009A4  5241                     addq.w     D1, 1
  966. 000009A6  3341 000A                move.w     [A1 + 0xA], D1
  967. 000009AA  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  968. 000009AE  6B18                     bmi        +0x1A /* 000009C8 */
  969. 000009B0  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  970. 000009B4  0201 000F                andi.b     D1, 0xF
  971. 000009B8  0C01 0001                cmpi.b     D1, 0x1
  972. 000009BC  660A                     bne        +0xC /* 000009C8 */
  973. 000009BE  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  974. 000009C2  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  975. label000009C8:
  976. 000009C8  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  977. 000009CE  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  978. 000009D2  6D44                     blt        +0x46 /* 00000A18 */
  979. 000009D4  4269 000E                clr.w      [A1 + 0xE]
  980. 000009D8  323C 003C                move.w     D1, 0x3C /* '<' */
  981. label000009DC:
  982. 000009DC  4267                     clr.w      -[A7]
  983. 000009DE  51C9 FFFC                dbf        D1, -0x6 /* 000009DC */
  984. 000009E2  204F                     movea.l    A0, A7
  985. 000009E4  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  986. 000009EA  7008                     moveq.l    D0, 0x08
  987. 000009EC  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  988. 000009EE  6624                     bne        +0x26 /* 00000A14 */
  989. 000009F0  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  990. 000009F6  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  991. 000009F8  661A                     bne        +0x1C /* 00000A14 */
  992. 000009FA  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  993. 00000A00  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  994. 00000A08  7001                     moveq.l    D0, 0x01
  995. 00000A0A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  996. 00000A0C  6606                     bne        +0x8 /* 00000A14 */
  997. 00000A0E  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  998. label00000A14:
  999. 00000A14  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  1000. label00000A18:
  1001. 00000A18  2049                     movea.l    A0, A1
  1002. 00000A1A  225F                     movea.l    A1, [A7]+
  1003. 00000A1C  5C4F                     addq.w     A7, 6
  1004. 00000A1E  3EBC EA84                move.w     [A7], 0xEA84
  1005. 00000A22  4ED1                     jmp        [A1]
  1006. 00000A24  48E7 C000                movem.l    -[A7], D0,D1
  1007. 00000A28  4CF7 0003 8161 0010      movem.l    D0,D1, [[A7 + 0x10]]
  1008. 00000A30  4A81                     tst.l      D1
  1009. 00000A32  6E04                     bgt        +0x6 /* 00000A38 */
  1010. 00000A34  6728                     beq        +0x2A /* 00000A5E */
  1011. 00000A36  5280                     addq.l     D0, 1
  1012. label00000A38:
  1013. 00000A38  F200 4000                fmove      fp0, (int32_t) D0
  1014. 00000A3C  F23C 5026 0020           fscale     fp0, (int16_t) 0x20 /* ' ' */
  1015. 00000A42  F201 4022                fadd       fp0, (int32_t) D1
  1016. 00000A46  6808                     bvc        +0xA /* 00000A50 */
  1017. 00000A48  F23C 4422 5F80 0000      fadd       fp0, (float) 1.84467e+19
  1018. label00000A50:
  1019. 00000A50  4CDF 0003                movem.l    D0,D1, [A7]+
  1020. 00000A54  F237 6800 8161 0004      fmove      (extended) [[A7 + 0x4]], fp0
  1021. 00000A5C  4E75                     rts
  1022. label00000A5E:
  1023. 00000A5E  4480                     neg.l      D0
  1024. 00000A60  6904                     bvs        +0x6 /* 00000A66 */
  1025. 00000A62  4480                     neg.l      D0
  1026. 00000A64  60D2                     bra        -0x2C /* 00000A38 */
  1027. label00000A66:
  1028. 00000A66  F23C 4400 7FC0 1400      fmove      fp0, (float) nan
  1029. 00000A6E  60E0                     bra        -0x1E /* 00000A50 */
  1030. 00000A70  F21F 8400                .fmove(m)  0xF21F, 0x8400 // unimplemented
  1031. 00000A74  42A7                     clr.l      -[A7]
  1032. 00000A76  F217 D080                .fmovem    0xF217, 0xD080 // unimplemented
  1033. 00000A7A  F227 B800                .fmove(m)  0xF227, 0xB800 // unimplemented
  1034. 00000A7E  42A7                     clr.l      -[A7]
  1035. 00000A80  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1036. 00000A84  0297 0000 00FF           andi.l     [A7], 0xFF
  1037. 00000A8A  F21F 9800                .fmove(m)  0xF21F, 0x9800 // unimplemented
  1038. 00000A8E  F227 E001                .fmovem    0xF227, 0xE001 // unimplemented
  1039. 00000A92  429F                     clr.l      [A7]+
  1040. 00000A94  F227 A400                .fmove(m)  0xF227, 0xA400 // unimplemented
  1041. 00000A98  4E75                     rts
  1042. 00000A9A  F201 5080                fmove      fp1, (int16_t) D1
  1043. 00000A9E  F227 A800                .fmove(m)  0xF227, 0xA800 // unimplemented
  1044. 00000AA2  322F 0002                move.w     D1, [A7 + 0x2]
  1045. 00000AA6  429F                     clr.l      [A7]+
  1046. 00000AA8  F22F 9800                .fmove(m)  0xF22F, 0x9800 // unimplemented
  1047. 00000AAC  0004 836F                ori.b      D4, 0x6F /* 'o' */
  1048. 00000AB0  000A C26F                ori.b      A2, 0x6F /* 'o' */
  1049. 00000AB4  0005 F22F                ori.b      D5, 0x2F /* '/' */
  1050. 00000AB8  8800                     or.b       D4, D0
  1051. 00000ABA  0008 4A01                ori.b      A0, 0x1
  1052. 00000ABE  671A                     beq        +0x1C /* 00000ADA */
  1053. 00000AC0  F280 0000                fnop
  1054. 00000AC4  4E71                     nop
  1055. 00000AC6  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  1056. 00000AC8  4241                     clr.w      D1
  1057. 00000ACA  122F 0001                move.b     D1, [A7 + 0x1]
  1058. 00000ACE  08B7 0003 1000           bclr.b     [A7 + D1.w], 0x3
  1059. 00000AD4  F35F                     .extension 0x35F <<F/4-5/1>> // unimplemented
  1060. 00000AD6  F280 0000                fnop
  1061. label00000ADA:
  1062. 00000ADA  F201 7080                fmove      (int16_t) D1, fp1
  1063. 00000ADE  2F57 0014                move.l     [A7 + 0x14], [A7]
  1064. 00000AE2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1065. 00000AE6  4E75                     rts
  1066. 00000AE8  4E56 0000                link       A6, 0
  1067. 00000AEC  203C 0000 A89F           move.l     D0, 0xA89F
  1068. 00000AF2  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1069. 00000AF4  2F08                     move.l     -[A7], A0
  1070. 00000AF6  203C 0000 A0AD           move.l     D0, 0xA0AD
  1071. 00000AFC  A346                     syscall    GetOSTrapAddress, flags=3
  1072. 00000AFE  B1DF                     cmpa.l     A0, [A7]+
  1073. 00000B00  6710                     beq        +0x12 /* 00000B12 */
  1074. 00000B02  202E 000C                move.l     D0, [A6 + 0xC]
  1075. 00000B06  206E 0008                movea.l    A0, [A6 + 0x8]
  1076. 00000B0A  A3AD                     syscall    NewGestalt, flags=3
  1077. 00000B0C  3D40 0010                move.w     [A6 + 0x10], D0
  1078. 00000B10  6006                     bra        +0x8 /* 00000B18 */
  1079. label00000B12:
  1080. 00000B12  3D7C FFFC 0010           move.w     [A6 + 0x10], 0xFFFC
  1081. label00000B18:
  1082. 00000B18  4E5E                     unlink     A6
  1083. 00000B1A  205F                     movea.l    A0, [A7]+
  1084. 00000B1C  508F                     addq.l     A7, 8
  1085. 00000B1E  4ED0                     jmp        [A0]
  1086. 00000B20  4E56 0000                link       A6, 0
  1087. 00000B24  203C 0000 A89F           move.l     D0, 0xA89F
  1088. 00000B2A  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1089. 00000B2C  2F08                     move.l     -[A7], A0
  1090. 00000B2E  203C 0000 A0AD           move.l     D0, 0xA0AD
  1091. 00000B34  A346                     syscall    GetOSTrapAddress, flags=3
  1092. 00000B36  B1DF                     cmpa.l     A0, [A7]+
  1093. 00000B38  6716                     beq        +0x18 /* 00000B50 */
  1094. 00000B3A  202E 0010                move.l     D0, [A6 + 0x10]
  1095. 00000B3E  206E 000C                movea.l    A0, [A6 + 0xC]
  1096. 00000B42  A5AD                     syscall    ReplaceGestalt, flags=5
  1097. 00000B44  3D40 0014                move.w     [A6 + 0x14], D0
  1098. 00000B48  226E 0008                movea.l    A1, [A6 + 0x8]
  1099. 00000B4C  2288                     move.l     [A1], A0
  1100. 00000B4E  6006                     bra        +0x8 /* 00000B56 */
  1101. label00000B50:
  1102. 00000B50  3D7C FFFC 0014           move.w     [A6 + 0x14], 0xFFFC
  1103. label00000B56:
  1104. 00000B56  4E5E                     unlink     A6
  1105. 00000B58  205F                     movea.l    A0, [A7]+
  1106. 00000B5A  DEFC 000C                add.w      A7, 0xC
  1107. 00000B5E  4ED0                     jmp        [A0]
  1108. 00000B60  4E56 0000                link       A6, 0
  1109. 00000B64  203C 0000 A89F           move.l     D0, 0xA89F
  1110. 00000B6A  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1111. 00000B6C  2F08                     move.l     -[A7], A0
  1112. 00000B6E  203C 0000 A0AD           move.l     D0, 0xA0AD
  1113. 00000B74  A346                     syscall    GetOSTrapAddress, flags=3
  1114. 00000B76  B1DF                     cmpa.l     A0, [A7]+
  1115. 00000B78  670E                     beq        +0x10 /* 00000B88 */
  1116. 00000B7A  202E 000C                move.l     D0, [A6 + 0xC]
  1117. 00000B7E  A1AD                     syscall    Gestalt, flags=1
  1118. 00000B80  226E 0008                movea.l    A1, [A6 + 0x8]
  1119. 00000B84  2288                     move.l     [A1], A0
  1120. 00000B86  6026                     bra        +0x28 /* 00000BAE */
  1121. label00000B88:
  1122. 00000B88  41FA 0036                lea.l      A0, [PC + 0x36 /* 00000BC0, value 0x76657273 'vers', cstring "vers" */]
  1123. 00000B8C  303C EA51                move.w     D0, 0xEA51
  1124. 00000B90  222E 000C                move.l     D1, [A6 + 0xC]
  1125. label00000B94:
  1126. 00000B94  B298                     cmp.l      D1, [A0]+
  1127. 00000B96  6706                     beq        +0x8 /* 00000B9E */
  1128. 00000B98  4A98                     tst.l      [A0]+
  1129. 00000B9A  6712                     beq        +0x14 /* 00000BAE */
  1130. 00000B9C  60F6                     bra        -0x8 /* 00000B94 */
  1131. label00000B9E:
  1132. 00000B9E  43FA 0020                lea.l      A1, [PC + 0x20 /* 00000BC0, value 0x76657273 'vers', cstring "vers" */]
  1133. 00000BA2  D3D0                     add.l      A1, [A0]
  1134. 00000BA4  4ED1                     jmp        [A1]
  1135. label00000BA6:
  1136. 00000BA6  226E 0008                movea.l    A1, [A6 + 0x8]
  1137. 00000BAA  2280                     move.l     [A1], D0
  1138. 00000BAC  4240                     clr.w      D0
  1139. label00000BAE:
  1140. 00000BAE  3D40 0010                move.w     [A6 + 0x10], D0
  1141. 00000BB2  4E5E                     unlink     A6
  1142. 00000BB4  205F                     movea.l    A0, [A7]+
  1143. 00000BB6  508F                     addq.l     A7, 8
  1144. 00000BB8  4ED0                     jmp        [A0]
  1145. label00000BBA:
  1146. 00000BBA  303C EA52                move.w     D0, 0xEA52
  1147. 00000BBE  60EE                     bra        -0x10 /* 00000BAE */
  1148. 00000BC0  7665                     moveq.l    D3, 0x65
  1149. 00000BC2  7273                     moveq.l    D1, 0x73
  1150. 00000BC4  0000 0060                ori.b      D0, 0x60 /* '`' */
  1151. 00000BC8  6D61                     blt        +0x63 /* 00000C2B */
  1152. 00000BCA  6368                     bls        +0x6A /* 00000C34 */
  1153. 00000BCC  0000 0064                ori.b      D0, 0x64 /* 'd' */
  1154. 00000BD0  7379                     moveq.l    D1, 0x79
  1155. 00000BD2  7376                     moveq.l    D1, 0x76
  1156. 00000BD4  0000 0088                ori.b      D0, 0x88
  1157. 00000BD8  7072                     moveq.l    D0, 0x72
  1158. 00000BDA  6F63                     ble        +0x65 /* 00000C3F */
  1159. 00000BDC  0000 0092                ori.b      D0, 0x92
  1160. 00000BE0  6670                     bne        +0x72 /* 00000C52 */
  1161. 00000BE2  7520                     moveq.l    D2, 0x20
  1162. 00000BE4  0000 009E                ori.b      D0, 0x9E
  1163. 00000BE8  7164                     moveq.l    D0, 0x64
  1164. 00000BEA  2020                     move.l     D0, -[A0]
  1165. 00000BEC  0000 00E8                ori.b      D0, 0xE8
  1166. 00000BF0  6B62                     bmi        +0x64 /* 00000C54 */
  1167. 00000BF2  6420                     bcc        +0x22 /* 00000C14 */
  1168. 00000BF4  0000 011A                ori.b      D0, 0x1A
  1169. 00000BF8  6174                     bsr        +0x76 /* 00000C6E */
  1170. 00000BFA  6C6B                     bge        +0x6D /* 00000C67 */
  1171. 00000BFC  0000 0142                ori.b      D0, 0x42 /* 'B' */
  1172. 00000C00  6D6D                     blt        +0x6F /* 00000C6F */
  1173. 00000C02  7520                     moveq.l    D2, 0x20
  1174. 00000C04  0000 0164                ori.b      D0, 0x64 /* 'd' */
  1175. 00000C08  7261                     moveq.l    D1, 0x61
  1176. 00000C0A  6D20                     blt        +0x22 /* 00000C2C */
  1177. 00000C0C  0000 0188                ori.b      D0, 0x88
  1178. 00000C10  6C72                     bge        +0x74 /* 00000C84 */
  1179. 00000C12  616D                     bsr        +0x6F /* 00000C81 */
  1180. label00000C14:
  1181. 00000C14  0000 0188                ori.b      D0, 0x88
  1182. 00000C18  0000 0000                ori.b      D0, 0x0
  1183. 00000C1C  0000 0000                ori.b      D0, 0x0
  1184. 00000C20  7001                     moveq.l    D0, 0x01
  1185. 00000C22  6082                     bra        -0x7C /* 00000BA6 */
  1186. 00000C24  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  1187. 00000C28  7004                     moveq.l    D0, 0x04
  1188. 00000C2A  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  1189. // begin alternate branch 00000C2C-00000C3A
  1190. label00000C2C:
  1191. 00000C2C  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  1192. label00000C34:
  1193. 00000C34  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  1194. // end alternate branch 00000C2C-00000C3A
  1195. label00000C2C: // (misaligned)
  1196. 00000C30  6712                     beq        +0x14 /* 00000C44 */
  1197. 00000C32  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  1198. label00000C34: // (misaligned)
  1199. 00000C38  6604                     bne        +0x6 /* 00000C3E */
  1200. 00000C3A  5240                     addq.w     D0, 1
  1201. 00000C3C  6006                     bra        +0x8 /* 00000C44 */
  1202. label00000C3E:
  1203. 00000C3E  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  1204. 00000C42  5C80                     addq.l     D0, 6
  1205. label00000C44:
  1206. 00000C44  6000 FF60                bra        -0x9E /* 00000BA6 */
  1207. 00000C48  7000                     moveq.l    D0, 0x00
  1208. 00000C4A  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  1209. 00000C4E  6000 FF56                bra        -0xA8 /* 00000BA6 */
  1210. label00000C52:
  1211. 00000C52  7000                     moveq.l    D0, 0x00
  1212. label00000C54:
  1213. 00000C54  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  1214. 00000C58  5240                     addq.w     D0, 1
  1215. 00000C5A  6000 FF4A                bra        -0xB4 /* 00000BA6 */
  1216. 00000C5E  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  1217. 00000C64  6738                     beq        +0x3A /* 00000C9E */
  1218. 00000C66  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  1219. 00000C6C  6734                     beq        +0x36 /* 00000CA2 */
  1220. fn00000C6E:
  1221. 00000C6E  204F                     movea.l    A0, A7
  1222. 00000C70  F280 0000                fnop
  1223. 00000C74  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  1224. 00000C76  3017                     move.w     D0, [A7]
  1225. 00000C78  2E48                     movea.l    A7, A0
  1226. 00000C7A  0C40 1F18                cmpi.w     D0, 0x1F18
  1227. 00000C7E  6716                     beq        +0x18 /* 00000C96 */
  1228. 00000C80  0C40 3F18                cmpi.w     D0, 0x3F18
  1229. label00000C84:
  1230. 00000C84  6710                     beq        +0x12 /* 00000C96 */
  1231. 00000C86  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  1232. 00000C8A  670E                     beq        +0x10 /* 00000C9A */
  1233. 00000C8C  0C40 1F38                cmpi.w     D0, 0x1F38
  1234. 00000C90  6708                     beq        +0xA /* 00000C9A */
  1235. 00000C92  7000                     moveq.l    D0, 0x00
  1236. 00000C94  600E                     bra        +0x10 /* 00000CA4 */
  1237. label00000C96:
  1238. 00000C96  7001                     moveq.l    D0, 0x01
  1239. 00000C98  600A                     bra        +0xC /* 00000CA4 */
  1240. label00000C9A:
  1241. 00000C9A  7002                     moveq.l    D0, 0x02
  1242. 00000C9C  6006                     bra        +0x8 /* 00000CA4 */
  1243. label00000C9E:
  1244. 00000C9E  7003                     moveq.l    D0, 0x03
  1245. 00000CA0  6002                     bra        +0x4 /* 00000CA4 */
  1246. label00000CA2:
  1247. 00000CA2  7000                     moveq.l    D0, 0x00
  1248. label00000CA4:
  1249. 00000CA4  6000 FF00                bra        -0xFE /* 00000BA6 */
  1250. 00000CA8  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  1251. 00000CAE  6E1C                     bgt        +0x1E /* 00000CCC */
  1252. 00000CB0  303C A89F                move.w     D0, 0xA89F
  1253. 00000CB4  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1254. 00000CB6  2408                     move.l     D2, A0
  1255. 00000CB8  203C 0000 AB03           move.l     D0, 0xAB03
  1256. 00000CBE  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1257. 00000CC0  203C 0000 0100           move.l     D0, 0x100
  1258. 00000CC6  B488                     cmp.l      D2, A0
  1259. 00000CC8  6606                     bne        +0x8 /* 00000CD0 */
  1260. 00000CCA  600A                     bra        +0xC /* 00000CD6 */
  1261. label00000CCC:
  1262. 00000CCC  7000                     moveq.l    D0, 0x00
  1263. 00000CCE  6006                     bra        +0x8 /* 00000CD6 */
  1264. label00000CD0:
  1265. 00000CD0  203C 0000 0200           move.l     D0, 0x200
  1266. label00000CD6:
  1267. 00000CD6  6000 FECE                bra        -0x130 /* 00000BA6 */
  1268. 00000CDA  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  1269. 00000CDE  41FA 0016                lea.l      A0, [PC + 0x16 /* 00000CF6, value 0x3130B02 */]
  1270. 00000CE2  2248                     movea.l    A1, A0
  1271. label00000CE4:
  1272. 00000CE4  1218                     move.b     D1, [A0]+
  1273. 00000CE6  6700 FED2                beq        -0x12C /* 00000BBA */
  1274. 00000CEA  B200                     cmp.b      D1, D0
  1275. 00000CEC  66F6                     bne        -0x8 /* 00000CE4 */
  1276. 00000CEE  91C9                     sub.l      A0, A1
  1277. 00000CF0  2008                     move.l     D0, A0
  1278. 00000CF2  6000 FEB2                bra        -0x14C /* 00000BA6 */
  1279. 00000CF6  0313                     btst       [A3], D1
  1280. 00000CF8  0B02                     btst       D2, D5
  1281. 00000CFA  0106                     btst       D6, D0
  1282. 00000CFC  0704                     btst       D4, D3
  1283. 00000CFE  0508                     btst       A0, D2
  1284. 00000D00  0900                     btst       D0, D4
  1285. 00000D02  7000                     moveq.l    D0, 0x00
  1286. 00000D04  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  1287. 00000D08  6B16                     bmi        +0x18 /* 00000D20 */
  1288. 00000D0A  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  1289. 00000D0E  0201 000F                andi.b     D1, 0xF
  1290. 00000D12  0C01 0001                cmpi.b     D1, 0x1
  1291. 00000D16  6608                     bne        +0xA /* 00000D20 */
  1292. 00000D18  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  1293. 00000D1C  1028 0007                move.b     D0, [A0 + 0x7]
  1294. label00000D20:
  1295. 00000D20  6000 FE84                bra        -0x17A /* 00000BA6 */
  1296. 00000D24  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  1297. 00000D2A  6D16                     blt        +0x18 /* 00000D42 */
  1298. 00000D2C  7000                     moveq.l    D0, 0x00
  1299. 00000D2E  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  1300. 00000D32  0C00 0001                cmpi.b     D0, 0x1
  1301. 00000D36  670C                     beq        +0xE /* 00000D44 */
  1302. 00000D38  0C00 0003                cmpi.b     D0, 0x3
  1303. 00000D3C  6D04                     blt        +0x6 /* 00000D42 */
  1304. 00000D3E  5340                     subq.w     D0, 1
  1305. 00000D40  6002                     bra        +0x4 /* 00000D44 */
  1306. label00000D42:
  1307. 00000D42  7000                     moveq.l    D0, 0x00
  1308. label00000D44:
  1309. 00000D44  6000 FE60                bra        -0x19E /* 00000BA6 */
  1310. 00000D48  303C A89F                move.w     D0, 0xA89F
  1311. 00000D4C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1312. 00000D4E  2408                     move.l     D2, A0
  1313. 00000D50  203C 0000 A88F           move.l     D0, 0xA88F
  1314. 00000D56  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1315. 00000D58  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  1316. 00000D5C  B488                     cmp.l      D2, A0
  1317. 00000D5E  670A                     beq        +0xC /* 00000D6A */
  1318. 00000D60  598F                     subq.l     A7, 4
  1319. 00000D62  3F3C 0016                move.w     -[A7], 0x16
  1320. 00000D66  A88F                     syscall    OSDispatch
  1321. 00000D68  201F                     move.l     D0, [A7]+
  1322. label00000D6A:
  1323. 00000D6A  6000 FE3A                bra        -0x1C4 /* 00000BA6 */
  1324. 00000D6E  225F                     movea.l    A1, [A7]+
  1325. 00000D70  204F                     movea.l    A0, A7
  1326. 00000D72  A019                     syscall    InitZone
  1327. 00000D74  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1328. 00000D78  4ED1                     jmp        [A1]
  1329. 00000D7A  225F                     movea.l    A1, [A7]+
  1330. 00000D7C  201F                     move.l     D0, [A7]+
  1331. 00000D7E  A04C                     syscall    CompactMem
  1332. 00000D80  2E80                     move.l     [A7], D0
  1333. 00000D82  4ED1                     jmp        [A1]
  1334. 00000D84  225F                     movea.l    A1, [A7]+
  1335. 00000D86  201F                     move.l     D0, [A7]+
  1336. 00000D88  A44C                     syscall    CompactMem, flags=4
  1337. 00000D8A  2E80                     move.l     [A7], D0
  1338. 00000D8C  4ED1                     jmp        [A1]
  1339. 00000D8E  225F                     movea.l    A1, [A7]+
  1340. 00000D90  A11D                     syscall    MaxMem, flags=1
  1341. 00000D92  2208                     move.l     D1, A0
  1342. 00000D94  205F                     movea.l    A0, [A7]+
  1343. 00000D96  2081                     move.l     [A0], D1
  1344. 00000D98  2E80                     move.l     [A7], D0
  1345. 00000D9A  4ED1                     jmp        [A1]
  1346. 00000D9C  225F                     movea.l    A1, [A7]+
  1347. 00000D9E  A51D                     syscall    MaxMem, flags=5
  1348. 00000DA0  2208                     move.l     D1, A0
  1349. 00000DA2  205F                     movea.l    A0, [A7]+
  1350. 00000DA4  2081                     move.l     [A0], D1
  1351. 00000DA6  2E80                     move.l     [A7], D0
  1352. 00000DA8  4ED1                     jmp        [A1]
  1353. 00000DAA  225F                     movea.l    A1, [A7]+
  1354. 00000DAC  201F                     move.l     D0, [A7]+
  1355. 00000DAE  A11E                     syscall    NewPtr, flags=1
  1356. 00000DB0  2E88                     move.l     [A7], A0
  1357. 00000DB2  4ED1                     jmp        [A1]
  1358. 00000DB4  225F                     movea.l    A1, [A7]+
  1359. 00000DB6  201F                     move.l     D0, [A7]+
  1360. 00000DB8  A51E                     syscall    NewPtrSys, flags=5
  1361. 00000DBA  2E88                     move.l     [A7], A0
  1362. 00000DBC  4ED1                     jmp        [A1]
  1363. 00000DBE  225F                     movea.l    A1, [A7]+
  1364. 00000DC0  201F                     move.l     D0, [A7]+
  1365. 00000DC2  A31E                     syscall    NewPtrClear, flags=3
  1366. 00000DC4  2E88                     move.l     [A7], A0
  1367. 00000DC6  4ED1                     jmp        [A1]
  1368. 00000DC8  225F                     movea.l    A1, [A7]+
  1369. 00000DCA  201F                     move.l     D0, [A7]+
  1370. 00000DCC  A71E                     syscall    NewPtrSysClear, flags=7
  1371. 00000DCE  2E88                     move.l     [A7], A0
  1372. 00000DD0  4ED1                     jmp        [A1]
  1373. 00000DD2  225F                     movea.l    A1, [A7]+
  1374. 00000DD4  205F                     movea.l    A0, [A7]+
  1375. 00000DD6  A021                     syscall    GetPtrSize
  1376. 00000DD8  2E80                     move.l     [A7], D0
  1377. 00000DDA  6A02                     bpl        +0x4 /* 00000DDE */
  1378. 00000DDC  4297                     clr.l      [A7]
  1379. label00000DDE:
  1380. 00000DDE  4ED1                     jmp        [A1]
  1381. 00000DE0  225F                     movea.l    A1, [A7]+
  1382. 00000DE2  201F                     move.l     D0, [A7]+
  1383. 00000DE4  205F                     movea.l    A0, [A7]+
  1384. 00000DE6  A020                     syscall    SetPtrSize
  1385. 00000DE8  4ED1                     jmp        [A1]
  1386. 00000DEA  225F                     movea.l    A1, [A7]+
  1387. 00000DEC  205F                     movea.l    A0, [A7]+
  1388. 00000DEE  A148                     syscall    PtrZone, flags=1
  1389. 00000DF0  2E88                     move.l     [A7], A0
  1390. 00000DF2  4ED1                     jmp        [A1]
  1391. 00000DF4  225F                     movea.l    A1, [A7]+
  1392. 00000DF6  201F                     move.l     D0, [A7]+
  1393. 00000DF8  A122                     syscall    NewHandle, flags=1
  1394. 00000DFA  2E88                     move.l     [A7], A0
  1395. 00000DFC  4ED1                     jmp        [A1]
  1396. 00000DFE  225F                     movea.l    A1, [A7]+
  1397. 00000E00  201F                     move.l     D0, [A7]+
  1398. 00000E02  A522                     syscall    NewHandleSys, flags=5
  1399. 00000E04  2E88                     move.l     [A7], A0
  1400. 00000E06  4ED1                     jmp        [A1]
  1401. 00000E08  225F                     movea.l    A1, [A7]+
  1402. 00000E0A  201F                     move.l     D0, [A7]+
  1403. 00000E0C  A322                     syscall    NewHandleClear, flags=3
  1404. 00000E0E  2E88                     move.l     [A7], A0
  1405. 00000E10  4ED1                     jmp        [A1]
  1406. 00000E12  225F                     movea.l    A1, [A7]+
  1407. 00000E14  201F                     move.l     D0, [A7]+
  1408. 00000E16  A722                     syscall    NewHandleSysClear, flags=7
  1409. 00000E18  2E88                     move.l     [A7], A0
  1410. 00000E1A  4ED1                     jmp        [A1]
  1411. 00000E1C  225F                     movea.l    A1, [A7]+
  1412. 00000E1E  205F                     movea.l    A0, [A7]+
  1413. 00000E20  A025                     syscall    GetHandleSize
  1414. 00000E22  2E80                     move.l     [A7], D0
  1415. 00000E24  6A02                     bpl        +0x4 /* 00000E28 */
  1416. 00000E26  4297                     clr.l      [A7]
  1417. label00000E28:
  1418. 00000E28  4ED1                     jmp        [A1]
  1419. 00000E2A  225F                     movea.l    A1, [A7]+
  1420. 00000E2C  201F                     move.l     D0, [A7]+
  1421. 00000E2E  205F                     movea.l    A0, [A7]+
  1422. 00000E30  A024                     syscall    SetHandleSize
  1423. 00000E32  4ED1                     jmp        [A1]
  1424. 00000E34  225F                     movea.l    A1, [A7]+
  1425. 00000E36  205F                     movea.l    A0, [A7]+
  1426. 00000E38  A126                     syscall    HandleZone, flags=1
  1427. 00000E3A  2E88                     move.l     [A7], A0
  1428. 00000E3C  4ED1                     jmp        [A1]
  1429. 00000E3E  225F                     movea.l    A1, [A7]+
  1430. 00000E40  205F                     movea.l    A0, [A7]+
  1431. 00000E42  A128                     syscall    RecoverHandle, flags=1
  1432. 00000E44  2E88                     move.l     [A7], A0
  1433. 00000E46  4ED1                     jmp        [A1]
  1434. 00000E48  225F                     movea.l    A1, [A7]+
  1435. 00000E4A  201F                     move.l     D0, [A7]+
  1436. 00000E4C  205F                     movea.l    A0, [A7]+
  1437. 00000E4E  A027                     syscall    ReallocateHandle
  1438. 00000E50  4ED1                     jmp        [A1]
  1439. 00000E52  221F                     move.l     D1, [A7]+
  1440. 00000E54  201F                     move.l     D0, [A7]+
  1441. 00000E56  225F                     movea.l    A1, [A7]+
  1442. 00000E58  205F                     movea.l    A0, [A7]+
  1443. 00000E5A  A02E                     syscall    BlockMove/BlockMoveData
  1444. 00000E5C  2241                     movea.l    A1, D1
  1445. 00000E5E  4ED1                     jmp        [A1]
  1446. 00000E60  7018                     moveq.l    D0, 0x18
  1447. label00000E62:
  1448. 00000E62  4267                     clr.w      -[A7]
  1449. 00000E64  51C8 FFFC                dbf        D0, -0x6 /* 00000E62 */
  1450. 00000E68  2F6F 003A 0012           move.l     [A7 + 0x12], [A7 + 0x3A]
  1451. 00000E6E  204F                     movea.l    A0, A7
  1452. 00000E70  A000                     syscall    Open/PBHOpen/HOpen
  1453. 00000E72  206F 0036                movea.l    A0, [A7 + 0x36]
  1454. 00000E76  30AF 0018                move.w     [A0], [A7 + 0x18]
  1455. 00000E7A  206F 0032                movea.l    A0, [A7 + 0x32]
  1456. 00000E7E  4FEF 003E                lea.l      A7, [A7 + 0x3E]
  1457. 00000E82  3E80                     move.w     [A7], D0
  1458. 00000E84  4ED0                     jmp        [A0]
  1459. 00000E86  302F 0004                move.w     D0, [A7 + 0x4]
  1460. 00000E8A  9EFC 001E                sub.w      A7, 0x1E
  1461. 00000E8E  3F40 0018                move.w     [A7 + 0x18], D0
  1462. 00000E92  204F                     movea.l    A0, A7
  1463. 00000E94  A001                     syscall    Close
  1464. 00000E96  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  1465. 00000E9A  3F40 0006                move.w     [A7 + 0x6], D0
  1466. 00000E9E  205F                     movea.l    A0, [A7]+
  1467. 00000EA0  544F                     addq.w     A7, 2
  1468. 00000EA2  4ED0                     jmp        [A0]
  1469. 00000EA4  4E56 FFCE                link       A6, -0x0032
  1470. 00000EA8  204F                     movea.l    A0, A7
  1471. 00000EAA  316E 000A 0018           move.w     [A0 + 0x18], [A6 + 0xA]
  1472. 00000EB0  317C 0008 001A           move.w     [A0 + 0x1A], 0x8
  1473. 00000EB6  316E 0008 001C           move.w     [A0 + 0x1C], [A6 + 0x8]
  1474. 00000EBC  A004                     syscall    Control
  1475. 00000EBE  3D40 000C                move.w     [A6 + 0xC], D0
  1476. 00000EC2  4E5E                     unlink     A6
  1477. 00000EC4  2E9F                     move.l     [A7], [A7]+
  1478. 00000EC6  4E75                     rts
  1479. 00000EC8  4E56 FFCE                link       A6, -0x0032
  1480. 00000ECC  204F                     movea.l    A0, A7
  1481. 00000ECE  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  1482. 00000ED4  317C 0009 001A           move.w     [A0 + 0x1A], 0x9 /* '\t' */
  1483. 00000EDA  216E 000A 001C           move.l     [A0 + 0x1C], [A6 + 0xA]
  1484. 00000EE0  316E 0008 0020           move.w     [A0 + 0x20], [A6 + 0x8]
  1485. 00000EE6  A004                     syscall    Control
  1486. 00000EE8  3D40 0010                move.w     [A6 + 0x10], D0
  1487. 00000EEC  4E5E                     unlink     A6
  1488. 00000EEE  225F                     movea.l    A1, [A7]+
  1489. 00000EF0  504F                     addq.w     A7, 8
  1490. 00000EF2  4ED1                     jmp        [A1]
  1491. 00000EF4  4E56 FFCE                link       A6, -0x0032
  1492. 00000EF8  204F                     movea.l    A0, A7
  1493. 00000EFA  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1494. 00000F00  317C 000A 001A           move.w     [A0 + 0x1A], 0xA /* '\n' */
  1495. 00000F06  226E 0008                movea.l    A1, [A6 + 0x8]
  1496. 00000F0A  2159 001C                move.l     [A0 + 0x1C], [A1]+
  1497. 00000F0E  2151 0020                move.l     [A0 + 0x20], [A1]
  1498. 00000F12  A004                     syscall    Control
  1499. 00000F14  3D40 000E                move.w     [A6 + 0xE], D0
  1500. 00000F18  4E5E                     unlink     A6
  1501. 00000F1A  225F                     movea.l    A1, [A7]+
  1502. 00000F1C  5C4F                     addq.w     A7, 6
  1503. 00000F1E  4ED1                     jmp        [A1]
  1504. 00000F20  303C 000C                move.w     D0, 0xC
  1505. 00000F24  4E56 FFCE                link       A6, -0x0032
  1506. 00000F28  204F                     movea.l    A0, A7
  1507. 00000F2A  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  1508. 00000F30  3140 001A                move.w     [A0 + 0x1A], D0
  1509. 00000F34  A004                     syscall    Control
  1510. 00000F36  3D40 000A                move.w     [A6 + 0xA], D0
  1511. 00000F3A  4E5E                     unlink     A6
  1512. 00000F3C  225F                     movea.l    A1, [A7]+
  1513. 00000F3E  544F                     addq.w     A7, 2
  1514. 00000F40  4ED1                     jmp        [A1]
  1515. 00000F42  303C 000B                move.w     D0, 0xB
  1516. 00000F46  4EED 0000                jmp        [A5 + 0x0]
  1517. 00000F4A  4E56 FFCE                link       A6, -0x0032
  1518. 00000F4E  204F                     movea.l    A0, A7
  1519. 00000F50  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1520. 00000F56  317C 0002 001A           move.w     [A0 + 0x1A], 0x2
  1521. 00000F5C  A005                     syscall    Status
  1522. 00000F5E  3D40 000E                move.w     [A6 + 0xE], D0
  1523. 00000F62  226E 0008                movea.l    A1, [A6 + 0x8]
  1524. 00000F66  22A8 001C                move.l     [A1], [A0 + 0x1C]
  1525. 00000F6A  4E5E                     unlink     A6
  1526. 00000F6C  225F                     movea.l    A1, [A7]+
  1527. 00000F6E  5C4F                     addq.w     A7, 6
  1528. 00000F70  4ED1                     jmp        [A1]
  1529. 00000F72  4E56 FFCE                link       A6, -0x0032
  1530. 00000F76  204F                     movea.l    A0, A7
  1531. 00000F78  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1532. 00000F7E  317C 0008 001A           move.w     [A0 + 0x1A], 0x8
  1533. 00000F84  A005                     syscall    Status
  1534. 00000F86  3D40 000E                move.w     [A6 + 0xE], D0
  1535. 00000F8A  226E 0008                movea.l    A1, [A6 + 0x8]
  1536. 00000F8E  22E8 001C                move.l     [A1]+, [A0 + 0x1C]
  1537. 00000F92  32A8 0020                move.w     [A1], [A0 + 0x20]
  1538. 00000F96  4E5E                     unlink     A6
  1539. 00000F98  225F                     movea.l    A1, [A7]+
  1540. 00000F9A  5C4F                     addq.w     A7, 6
  1541. 00000F9C  4ED1                     jmp        [A1]
  1542. 00000F9E  4E56 FFCE                link       A6, -0x0032
  1543. 00000FA2  204F                     movea.l    A0, A7
  1544. 00000FA4  317C FFFB 0018           move.w     [A0 + 0x18], 0xFFFB
  1545. 00000FAA  317C 0007 001A           move.w     [A0 + 0x1A], 0x7
  1546. 00000FB0  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  1547. 00000FB6  A004                     syscall    Control
  1548. 00000FB8  3D40 000A                move.w     [A6 + 0xA], D0
  1549. 00000FBC  4E5E                     unlink     A6
  1550. 00000FBE  225F                     movea.l    A1, [A7]+
  1551. 00000FC0  544F                     addq.w     A7, 2
  1552. 00000FC2  4ED1                     jmp        [A1]
  1553. 00000FC4  4E56 FFCE                link       A6, -0x0032
  1554. 00000FC8  204F                     movea.l    A0, A7
  1555. 00000FCA  317C FFFB 0018           move.w     [A0 + 0x18], 0xFFFB
  1556. 00000FD0  317C 0008 001A           move.w     [A0 + 0x1A], 0x8
  1557. 00000FD6  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  1558. 00000FDC  A004                     syscall    Control
  1559. 00000FDE  3D40 000C                move.w     [A6 + 0xC], D0
  1560. 00000FE2  4E5E                     unlink     A6
  1561. 00000FE4  2E9F                     move.l     [A7], [A7]+
  1562. 00000FE6  4E75                     rts
  1563. 00000FE8  4E56 FFCE                link       A6, -0x0032
  1564. 00000FEC  204F                     movea.l    A0, A7
  1565. 00000FEE  317C FFFB 0018           move.w     [A0 + 0x18], 0xFFFB
  1566. 00000FF4  317C 0008 001A           move.w     [A0 + 0x1A], 0x8
  1567. 00000FFA  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  1568. 00001000  A005                     syscall    Status
  1569. 00001002  3D40 000E                move.w     [A6 + 0xE], D0
  1570. 00001006  226E 0008                movea.l    A1, [A6 + 0x8]
  1571. 0000100A  41E8 001C                lea.l      A0, [A0 + 0x1C]
  1572. 0000100E  7016                     moveq.l    D0, 0x16
  1573. 00001010  A02E                     syscall    BlockMove/BlockMoveData
  1574. 00001012  4E5E                     unlink     A6
  1575. 00001014  225F                     movea.l    A1, [A7]+
  1576. 00001016  5C4F                     addq.w     A7, 6
  1577. 00001018  4ED1                     jmp        [A1]
  1578. 0000101A  225F                     movea.l    A1, [A7]+
  1579. 0000101C  301F                     move.w     D0, [A7]+
  1580. 0000101E  A146                     syscall    GetTrapAddress, flags=1
  1581. 00001020  2E88                     move.l     [A7], A0
  1582. 00001022  4ED1                     jmp        [A1]
  1583. 00001024  225F                     movea.l    A1, [A7]+
  1584. 00001026  301F                     move.w     D0, [A7]+
  1585. 00001028  205F                     movea.l    A0, [A7]+
  1586. 0000102A  A047                     syscall    SetTrapAddress
  1587. 0000102C  4ED1                     jmp        [A1]
  1588. 0000102E  225F                     movea.l    A1, [A7]+
  1589. 00001030  121F                     move.b     D1, [A7]+
  1590. 00001032  301F                     move.w     D0, [A7]+
  1591. 00001034  4A01                     tst.b      D1
  1592. 00001036  6704                     beq        +0x6 /* 0000103C */
  1593. 00001038  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1594. 0000103A  6002                     bra        +0x4 /* 0000103E */
  1595. label0000103C:
  1596. 0000103C  A346                     syscall    GetOSTrapAddress, flags=3
  1597. label0000103E:
  1598. 0000103E  2E88                     move.l     [A7], A0
  1599. 00001040  4ED1                     jmp        [A1]
  1600. 00001042  225F                     movea.l    A1, [A7]+
  1601. 00001044  121F                     move.b     D1, [A7]+
  1602. 00001046  301F                     move.w     D0, [A7]+
  1603. 00001048  205F                     movea.l    A0, [A7]+
  1604. 0000104A  4A01                     tst.b      D1
  1605. 0000104C  6704                     beq        +0x6 /* 00001052 */
  1606. 0000104E  A647                     syscall    SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
  1607. 00001050  6002                     bra        +0x4 /* 00001054 */
  1608. label00001052:
  1609. 00001052  A247                     syscall    SetOSTrapAddress, flags=2
  1610. label00001054:
  1611. 00001054  4ED1                     jmp        [A1]
  1612. 00001056  225F                     movea.l    A1, [A7]+
  1613. 00001058  301F                     move.w     D0, [A7]+
  1614. 0000105A  A346                     syscall    GetOSTrapAddress, flags=3
  1615. 0000105C  2E88                     move.l     [A7], A0
  1616. 0000105E  4ED1                     jmp        [A1]
  1617. 00001060  225F                     movea.l    A1, [A7]+
  1618. 00001062  301F                     move.w     D0, [A7]+
  1619. 00001064  205F                     movea.l    A0, [A7]+
  1620. 00001066  A247                     syscall    SetOSTrapAddress, flags=2
  1621. 00001068  4ED1                     jmp        [A1]
  1622. 0000106A  225F                     movea.l    A1, [A7]+
  1623. 0000106C  301F                     move.w     D0, [A7]+
  1624. 0000106E  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1625. 00001070  2E88                     move.l     [A7], A0
  1626. 00001072  4ED1                     jmp        [A1]
  1627. 00001074  225F                     movea.l    A1, [A7]+
  1628. 00001076  301F                     move.w     D0, [A7]+
  1629. 00001078  205F                     movea.l    A0, [A7]+
  1630. 0000107A  A647                     syscall    SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
  1631. 0000107C  4ED1                     jmp        [A1]
  1632. 0000107E  41F8 01F8                lea.l      A0, [0x000001F8 /* SPValid/SysParam */]
  1633. 00001082  70FF                     moveq.l    D0, 0xFFFFFFFF
  1634. 00001084  A038                     syscall    WriteParam
  1635. 00001086  3F40 0004                move.w     [A7 + 0x4], D0
  1636. 0000108A  4E75                     rts
  1637. 0000108C  225F                     movea.l    A1, [A7]+
  1638. 0000108E  205F                     movea.l    A0, [A7]+
  1639. 00001090  A039                     syscall    ReadDateTime
  1640. 00001092  3E80                     move.w     [A7], D0
  1641. 00001094  4ED1                     jmp        [A1]
  1642. 00001096  225F                     movea.l    A1, [A7]+
  1643. 00001098  205F                     movea.l    A0, [A7]+
  1644. 0000109A  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  1645. 0000109E  4ED1                     jmp        [A1]
  1646. 000010A0  205F                     movea.l    A0, [A7]+
  1647. 000010A2  201F                     move.l     D0, [A7]+
  1648. 000010A4  A03A                     syscall    SetDateTime
  1649. 000010A6  3E80                     move.w     [A7], D0
  1650. 000010A8  4ED0                     jmp        [A0]
  1651. 000010AA  225F                     movea.l    A1, [A7]+
  1652. 000010AC  205F                     movea.l    A0, [A7]+
  1653. 000010AE  A9C7                     syscall    DateToSeconds/Date2Secs
  1654. 000010B0  A03A                     syscall    SetDateTime
  1655. 000010B2  4ED1                     jmp        [A1]
  1656. 000010B4  225F                     movea.l    A1, [A7]+
  1657. 000010B6  205F                     movea.l    A0, [A7]+
  1658. 000010B8  2038 020C                move.l     D0, [0x0000020C /* Time */]
  1659. 000010BC  A9C6                     syscall    SecondsToDate/Secs2Date
  1660. 000010BE  4ED1                     jmp        [A1]
  1661. 000010C0  206F 0008                movea.l    A0, [A7 + 0x8]
  1662. 000010C4  A9C7                     syscall    DateToSeconds/Date2Secs
  1663. 000010C6  4CDF 0302                movem.l    D1,A0,A1, [A7]+
  1664. 000010CA  2080                     move.l     [A0], D0
  1665. 000010CC  2041                     movea.l    A0, D1
  1666. 000010CE  4ED0                     jmp        [A0]
  1667. 000010D0  4CDF 0301                movem.l    D0,A0,A1, [A7]+
  1668. 000010D4  2F00                     move.l     -[A7], D0
  1669. 000010D6  2009                     move.l     D0, A1
  1670. 000010D8  A9C6                     syscall    SecondsToDate/Secs2Date
  1671. 000010DA  4E75                     rts
  1672. 000010DC  201F                     move.l     D0, [A7]+
  1673. 000010DE  225F                     movea.l    A1, [A7]+
  1674. 000010E0  205F                     movea.l    A0, [A7]+
  1675. 000010E2  2F00                     move.l     -[A7], D0
  1676. 000010E4  A03B                     syscall    Delay
  1677. 000010E6  2280                     move.l     [A1], D0
  1678. 000010E8  4E75                     rts
  1679. 000010EA  206F 000C                movea.l    A0, [A7 + 0xC]
  1680. 000010EE  226F 0008                movea.l    A1, [A7 + 0x8]
  1681. 000010F2  7000                     moveq.l    D0, 0x00
  1682. 000010F4  1018                     move.b     D0, [A0]+
  1683. 000010F6  4840                     swap.w     D0
  1684. 000010F8  1019                     move.b     D0, [A1]+
  1685. 000010FA  4A2F 0004                tst.b      [A7 + 0x4]
  1686. 000010FE  670E                     beq        +0x10 /* 0000110E */
  1687. 00001100  4A2F 0006                tst.b      [A7 + 0x6]
  1688. 00001104  6704                     beq        +0x6 /* 0000110A */
  1689. 00001106  A43C                     syscall    CmpString, flags=4
  1690. 00001108  6010                     bra        +0x12 /* 0000111A */
  1691. label0000110A:
  1692. 0000110A  A03C                     syscall    CmpString
  1693. 0000110C  600C                     bra        +0xE /* 0000111A */
  1694. label0000110E:
  1695. 0000110E  4A2F 0006                tst.b      [A7 + 0x6]
  1696. 00001112  6704                     beq        +0x6 /* 00001118 */
  1697. 00001114  A63C                     syscall    CmpString, flags=6
  1698. 00001116  6002                     bra        +0x4 /* 0000111A */
  1699. label00001118:
  1700. 00001118  A23C                     syscall    CmpString, flags=2
  1701. label0000111A:
  1702. 0000111A  0A00 0001                xori.b     D0, 0x1
  1703. 0000111E  1F40 0010                move.b     [A7 + 0x10], D0
  1704. 00001122  205F                     movea.l    A0, [A7]+
  1705. 00001124  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1706. 00001128  4ED0                     jmp        [A0]
  1707. 0000112A  225F                     movea.l    A1, [A7]+
  1708. 0000112C  121F                     move.b     D1, [A7]+
  1709. 0000112E  205F                     movea.l    A0, [A7]+
  1710. 00001130  7000                     moveq.l    D0, 0x00
  1711. 00001132  1018                     move.b     D0, [A0]+
  1712. 00001134  2F09                     move.l     -[A7], A1
  1713. 00001136  4A01                     tst.b      D1
  1714. 00001138  6704                     beq        +0x6 /* 0000113E */
  1715. 0000113A  A054                     syscall    UprString/UprText
  1716. 0000113C  6002                     bra        +0x4 /* 00001140 */
  1717. label0000113E:
  1718. 0000113E  A254                     syscall    UprString/UprText, flags=2
  1719. label00001140:
  1720. 00001140  4E75                     rts
  1721. 00001142  201F                     move.l     D0, [A7]+
  1722. 00001144  225F                     movea.l    A1, [A7]+
  1723. 00001146  205F                     movea.l    A0, [A7]+
  1724. 00001148  2F00                     move.l     -[A7], D0
  1725. 0000114A  A96F                     syscall    Enqueue
  1726. 0000114C  4E75                     rts
  1727. 0000114E  201F                     move.l     D0, [A7]+
  1728. 00001150  225F                     movea.l    A1, [A7]+
  1729. 00001152  205F                     movea.l    A0, [A7]+
  1730. 00001154  2F00                     move.l     -[A7], D0
  1731. 00001156  A96E                     syscall    Dequeue
  1732. 00001158  3F40 0004                move.w     [A7 + 0x4], D0
  1733. 0000115C  4E75                     rts
  1734. 0000115E  205F                     movea.l    A0, [A7]+
  1735. 00001160  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  1736. 00001164  5049                     addq.w     A1, 8
  1737. 00001166  3011                     move.w     D0, [A1]
  1738. 00001168  225F                     movea.l    A1, [A7]+
  1739. 0000116A  4251                     clr.w      [A1]
  1740. 0000116C  0C00 00FF                cmpi.b     D0, 0xFF
  1741. 00001170  6708                     beq        +0xA /* 0000117A */
  1742. 00001172  E058                     ror        D0.w, 8
  1743. 00001174  5200                     addq.b     D0, 1
  1744. 00001176  1340 0001                move.b     [A1 + 0x1], D0
  1745. label0000117A:
  1746. 0000117A  E048                     lsr        D0.w, 8
  1747. 0000117C  225F                     movea.l    A1, [A7]+
  1748. 0000117E  3280                     move.w     [A1], D0
  1749. 00001180  4ED0                     jmp        [A0]
  1750. 00001182  205F                     movea.l    A0, [A7]+
  1751. 00001184  301F                     move.w     D0, [A7]+
  1752. 00001186  4297                     clr.l      [A7]
  1753. 00001188  4640                     not.w      D0
  1754. 0000118A  B078 01D2                cmp.w      D0, [0x000001D2 /* UnitNtryCnt */]
  1755. 0000118E  640A                     bcc        +0xC /* 0000119A */
  1756. 00001190  E548                     lsl        D0.w, 2
  1757. 00001192  2278 011C                movea.l    A1, [0x0000011C /* UTableBase */]
  1758. 00001196  2EB1 0000                move.l     [A7], [A1 + D0.w]
  1759. label0000119A:
  1760. 0000119A  4ED0                     jmp        [A0]
  1761. 0000119C  205F                     movea.l    A0, [A7]+
  1762. 0000119E  101F                     move.b     D0, [A7]+
  1763. 000011A0  6708                     beq        +0xA /* 000011AA */
  1764. 000011A2  08F8 0006 0938           bset.b     [0x00000938 /* HiliteMode */], 0x6
  1765. 000011A8  6006                     bra        +0x8 /* 000011B0 */
  1766. label000011AA:
  1767. 000011AA  08B8 0006 0938           bclr.b     [0x00000938 /* HiliteMode */], 0x6
  1768. label000011B0:
  1769. 000011B0  57C0                     seq        D0
  1770. 000011B2  5200                     addq.b     D0, 1
  1771. 000011B4  1E80                     move.b     [A7], D0
  1772. 000011B6  4ED0                     jmp        [A0]
  1773. 000011B8  225F                     movea.l    A1, [A7]+
  1774. 000011BA  101F                     move.b     D0, [A7]+
  1775. 000011BC  205F                     movea.l    A0, [A7]+
  1776. 000011BE  6604                     bne        +0x6 /* 000011C4 */
  1777. 000011C0  A000                     syscall    Open/PBHOpen/HOpen
  1778. 000011C2  6002                     bra        +0x4 /* 000011C6 */
  1779. label000011C4:
  1780. 000011C4  A400                     syscall    Open/PBHOpen/HOpen, flags=4
  1781. label000011C6:
  1782. 000011C6  3E80                     move.w     [A7], D0
  1783. 000011C8  4ED1                     jmp        [A1]
  1784. 000011CA  225F                     movea.l    A1, [A7]+
  1785. 000011CC  101F                     move.b     D0, [A7]+
  1786. 000011CE  205F                     movea.l    A0, [A7]+
  1787. 000011D0  6604                     bne        +0x6 /* 000011D6 */
  1788. 000011D2  A001                     syscall    Close
  1789. 000011D4  6002                     bra        +0x4 /* 000011D8 */
  1790. label000011D6:
  1791. 000011D6  A401                     syscall    Close, flags=4
  1792. label000011D8:
  1793. 000011D8  3E80                     move.w     [A7], D0
  1794. 000011DA  4ED1                     jmp        [A1]
  1795. 000011DC  225F                     movea.l    A1, [A7]+
  1796. 000011DE  101F                     move.b     D0, [A7]+
  1797. 000011E0  205F                     movea.l    A0, [A7]+
  1798. 000011E2  6604                     bne        +0x6 /* 000011E8 */
  1799. 000011E4  A002                     syscall    Read
  1800. 000011E6  6002                     bra        +0x4 /* 000011EA */
  1801. label000011E8:
  1802. 000011E8  A402                     syscall    Read, flags=4
  1803. label000011EA:
  1804. 000011EA  3E80                     move.w     [A7], D0
  1805. 000011EC  4ED1                     jmp        [A1]
  1806. 000011EE  225F                     movea.l    A1, [A7]+
  1807. 000011F0  101F                     move.b     D0, [A7]+
  1808. 000011F2  205F                     movea.l    A0, [A7]+
  1809. 000011F4  6604                     bne        +0x6 /* 000011FA */
  1810. 000011F6  A003                     syscall    Write
  1811. 000011F8  6002                     bra        +0x4 /* 000011FC */
  1812. label000011FA:
  1813. 000011FA  A403                     syscall    Write, flags=4
  1814. label000011FC:
  1815. 000011FC  3E80                     move.w     [A7], D0
  1816. 000011FE  4ED1                     jmp        [A1]
  1817. 00001200  225F                     movea.l    A1, [A7]+
  1818. 00001202  101F                     move.b     D0, [A7]+
  1819. 00001204  205F                     movea.l    A0, [A7]+
  1820. 00001206  6604                     bne        +0x6 /* 0000120C */
  1821. 00001208  A004                     syscall    Control
  1822. 0000120A  6002                     bra        +0x4 /* 0000120E */
  1823. label0000120C:
  1824. 0000120C  A404                     syscall    Control, flags=4
  1825. label0000120E:
  1826. 0000120E  3E80                     move.w     [A7], D0
  1827. 00001210  4ED1                     jmp        [A1]
  1828. 00001212  225F                     movea.l    A1, [A7]+
  1829. 00001214  101F                     move.b     D0, [A7]+
  1830. 00001216  205F                     movea.l    A0, [A7]+
  1831. 00001218  6604                     bne        +0x6 /* 0000121E */
  1832. 0000121A  A005                     syscall    Status
  1833. 0000121C  6002                     bra        +0x4 /* 00001220 */
  1834. label0000121E:
  1835. 0000121E  A405                     syscall    Status, flags=4
  1836. label00001220:
  1837. 00001220  3E80                     move.w     [A7], D0
  1838. 00001222  4ED1                     jmp        [A1]
  1839. 00001224  225F                     movea.l    A1, [A7]+
  1840. 00001226  101F                     move.b     D0, [A7]+
  1841. 00001228  205F                     movea.l    A0, [A7]+
  1842. 0000122A  6604                     bne        +0x6 /* 00001230 */
  1843. 0000122C  A006                     syscall    KillIO
  1844. 0000122E  6002                     bra        +0x4 /* 00001232 */
  1845. label00001230:
  1846. 00001230  A406                     syscall    KillIO, flags=4
  1847. label00001232:
  1848. 00001232  3E80                     move.w     [A7], D0
  1849. 00001234  4ED1                     jmp        [A1]
  1850. 00001236  225F                     movea.l    A1, [A7]+
  1851. 00001238  101F                     move.b     D0, [A7]+
  1852. 0000123A  205F                     movea.l    A0, [A7]+
  1853. 0000123C  6604                     bne        +0x6 /* 00001242 */
  1854. 0000123E  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  1855. 00001240  6002                     bra        +0x4 /* 00001244 */
  1856. label00001242:
  1857. 00001242  A407                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
  1858. label00001244:
  1859. 00001244  3E80                     move.w     [A7], D0
  1860. 00001246  4ED1                     jmp        [A1]
  1861. 00001248  225F                     movea.l    A1, [A7]+
  1862. 0000124A  101F                     move.b     D0, [A7]+
  1863. 0000124C  205F                     movea.l    A0, [A7]+
  1864. 0000124E  6604                     bne        +0x6 /* 00001254 */
  1865. 00001250  A014                     syscall    GetVol/PBHGetVol/HGetVol
  1866. 00001252  6002                     bra        +0x4 /* 00001256 */
  1867. label00001254:
  1868. 00001254  A414                     syscall    GetVol/PBHGetVol/HGetVol, flags=4
  1869. label00001256:
  1870. 00001256  3E80                     move.w     [A7], D0
  1871. 00001258  4ED1                     jmp        [A1]
  1872. 0000125A  225F                     movea.l    A1, [A7]+
  1873. 0000125C  101F                     move.b     D0, [A7]+
  1874. 0000125E  205F                     movea.l    A0, [A7]+
  1875. 00001260  6604                     bne        +0x6 /* 00001266 */
  1876. 00001262  A015                     syscall    SetVol/PBHSetVol/HSetVol
  1877. 00001264  6002                     bra        +0x4 /* 00001268 */
  1878. label00001266:
  1879. 00001266  A415                     syscall    SetVol/PBHSetVol/HSetVol, flags=4
  1880. label00001268:
  1881. 00001268  3E80                     move.w     [A7], D0
  1882. 0000126A  4ED1                     jmp        [A1]
  1883. 0000126C  225F                     movea.l    A1, [A7]+
  1884. 0000126E  101F                     move.b     D0, [A7]+
  1885. 00001270  205F                     movea.l    A0, [A7]+
  1886. 00001272  6604                     bne        +0x6 /* 00001278 */
  1887. 00001274  A013                     syscall    FlushVol
  1888. 00001276  6002                     bra        +0x4 /* 0000127A */
  1889. label00001278:
  1890. 00001278  A413                     syscall    FlushVol, flags=4
  1891. label0000127A:
  1892. 0000127A  3E80                     move.w     [A7], D0
  1893. 0000127C  4ED1                     jmp        [A1]
  1894. 0000127E  225F                     movea.l    A1, [A7]+
  1895. 00001280  101F                     move.b     D0, [A7]+
  1896. 00001282  205F                     movea.l    A0, [A7]+
  1897. 00001284  6604                     bne        +0x6 /* 0000128A */
  1898. 00001286  A008                     syscall    Create/PBHCreate/HCreate
  1899. 00001288  6002                     bra        +0x4 /* 0000128C */
  1900. label0000128A:
  1901. 0000128A  A408                     syscall    Create/PBHCreate/HCreate, flags=4
  1902. label0000128C:
  1903. 0000128C  3E80                     move.w     [A7], D0
  1904. 0000128E  4ED1                     jmp        [A1]
  1905. 00001290  225F                     movea.l    A1, [A7]+
  1906. 00001292  101F                     move.b     D0, [A7]+
  1907. 00001294  205F                     movea.l    A0, [A7]+
  1908. 00001296  6604                     bne        +0x6 /* 0000129C */
  1909. 00001298  A009                     syscall    Delete/PBHDelete/HDelete
  1910. 0000129A  6002                     bra        +0x4 /* 0000129E */
  1911. label0000129C:
  1912. 0000129C  A409                     syscall    Delete/PBHDelete/HDelete, flags=4
  1913. label0000129E:
  1914. 0000129E  3E80                     move.w     [A7], D0
  1915. 000012A0  4ED1                     jmp        [A1]
  1916. 000012A2  225F                     movea.l    A1, [A7]+
  1917. 000012A4  101F                     move.b     D0, [A7]+
  1918. 000012A6  205F                     movea.l    A0, [A7]+
  1919. 000012A8  6604                     bne        +0x6 /* 000012AE */
  1920. 000012AA  A00A                     syscall    OpenRF/PBHOpenRF/HOpenRF
  1921. 000012AC  6002                     bra        +0x4 /* 000012B0 */
  1922. label000012AE:
  1923. 000012AE  A40A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=4
  1924. label000012B0:
  1925. 000012B0  3E80                     move.w     [A7], D0
  1926. 000012B2  4ED1                     jmp        [A1]
  1927. 000012B4  225F                     movea.l    A1, [A7]+
  1928. 000012B6  101F                     move.b     D0, [A7]+
  1929. 000012B8  205F                     movea.l    A0, [A7]+
  1930. 000012BA  6604                     bne        +0x6 /* 000012C0 */
  1931. 000012BC  A00B                     syscall    Rename/PBHRename/HRename
  1932. 000012BE  6002                     bra        +0x4 /* 000012C2 */
  1933. label000012C0:
  1934. 000012C0  A40B                     syscall    Rename/PBHRename/HRename, flags=4
  1935. label000012C2:
  1936. 000012C2  3E80                     move.w     [A7], D0
  1937. 000012C4  4ED1                     jmp        [A1]
  1938. 000012C6  225F                     movea.l    A1, [A7]+
  1939. 000012C8  101F                     move.b     D0, [A7]+
  1940. 000012CA  205F                     movea.l    A0, [A7]+
  1941. 000012CC  6604                     bne        +0x6 /* 000012D2 */
  1942. 000012CE  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  1943. 000012D0  6002                     bra        +0x4 /* 000012D4 */
  1944. label000012D2:
  1945. 000012D2  A40C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
  1946. label000012D4:
  1947. 000012D4  3E80                     move.w     [A7], D0
  1948. 000012D6  4ED1                     jmp        [A1]
  1949. 000012D8  225F                     movea.l    A1, [A7]+
  1950. 000012DA  101F                     move.b     D0, [A7]+
  1951. 000012DC  205F                     movea.l    A0, [A7]+
  1952. 000012DE  6604                     bne        +0x6 /* 000012E4 */
  1953. 000012E0  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  1954. 000012E2  6002                     bra        +0x4 /* 000012E6 */
  1955. label000012E4:
  1956. 000012E4  A40D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=4
  1957. label000012E6:
  1958. 000012E6  3E80                     move.w     [A7], D0
  1959. 000012E8  4ED1                     jmp        [A1]
  1960. 000012EA  225F                     movea.l    A1, [A7]+
  1961. 000012EC  101F                     move.b     D0, [A7]+
  1962. 000012EE  205F                     movea.l    A0, [A7]+
  1963. 000012F0  6604                     bne        +0x6 /* 000012F6 */
  1964. 000012F2  A041                     syscall    SetFilLock/PBHSetFLock/HSetFLock
  1965. 000012F4  6002                     bra        +0x4 /* 000012F8 */
  1966. label000012F6:
  1967. 000012F6  A441                     syscall    SetFilLock/PBHSetFLock/HSetFLock, flags=4
  1968. label000012F8:
  1969. 000012F8  3E80                     move.w     [A7], D0
  1970. 000012FA  4ED1                     jmp        [A1]
  1971. 000012FC  225F                     movea.l    A1, [A7]+
  1972. 000012FE  101F                     move.b     D0, [A7]+
  1973. 00001300  205F                     movea.l    A0, [A7]+
  1974. 00001302  6604                     bne        +0x6 /* 00001308 */
  1975. 00001304  A042                     syscall    RstFilLock/PBHRstFLock/HRstFLock
  1976. 00001306  6002                     bra        +0x4 /* 0000130A */
  1977. label00001308:
  1978. 00001308  A442                     syscall    RstFilLock/PBHRstFLock/HRstFLock, flags=4
  1979. label0000130A:
  1980. 0000130A  3E80                     move.w     [A7], D0
  1981. 0000130C  4ED1                     jmp        [A1]
  1982. 0000130E  225F                     movea.l    A1, [A7]+
  1983. 00001310  101F                     move.b     D0, [A7]+
  1984. 00001312  205F                     movea.l    A0, [A7]+
  1985. 00001314  6604                     bne        +0x6 /* 0000131A */
  1986. 00001316  A043                     syscall    SetFilType
  1987. 00001318  6002                     bra        +0x4 /* 0000131C */
  1988. label0000131A:
  1989. 0000131A  A443                     syscall    SetFilType, flags=4
  1990. label0000131C:
  1991. 0000131C  3E80                     move.w     [A7], D0
  1992. 0000131E  4ED1                     jmp        [A1]
  1993. 00001320  225F                     movea.l    A1, [A7]+
  1994. 00001322  101F                     move.b     D0, [A7]+
  1995. 00001324  205F                     movea.l    A0, [A7]+
  1996. 00001326  6604                     bne        +0x6 /* 0000132C */
  1997. 00001328  A010                     syscall    Allocate/PBAllocContig/AllocContig
  1998. 0000132A  6002                     bra        +0x4 /* 0000132E */
  1999. label0000132C:
  2000. 0000132C  A410                     syscall    Allocate/PBAllocContig/AllocContig, flags=4
  2001. label0000132E:
  2002. 0000132E  3E80                     move.w     [A7], D0
  2003. 00001330  4ED1                     jmp        [A1]
  2004. 00001332  225F                     movea.l    A1, [A7]+
  2005. 00001334  101F                     move.b     D0, [A7]+
  2006. 00001336  205F                     movea.l    A0, [A7]+
  2007. 00001338  6604                     bne        +0x6 /* 0000133E */
  2008. 0000133A  A011                     syscall    GetEOF
  2009. 0000133C  6002                     bra        +0x4 /* 00001340 */
  2010. label0000133E:
  2011. 0000133E  A411                     syscall    GetEOF, flags=4
  2012. label00001340:
  2013. 00001340  3E80                     move.w     [A7], D0
  2014. 00001342  4ED1                     jmp        [A1]
  2015. 00001344  225F                     movea.l    A1, [A7]+
  2016. 00001346  101F                     move.b     D0, [A7]+
  2017. 00001348  205F                     movea.l    A0, [A7]+
  2018. 0000134A  6604                     bne        +0x6 /* 00001350 */
  2019. 0000134C  A012                     syscall    SetEOF
  2020. 0000134E  6002                     bra        +0x4 /* 00001352 */
  2021. label00001350:
  2022. 00001350  A412                     syscall    SetEOF, flags=4
  2023. label00001352:
  2024. 00001352  3E80                     move.w     [A7], D0
  2025. 00001354  4ED1                     jmp        [A1]
  2026. 00001356  225F                     movea.l    A1, [A7]+
  2027. 00001358  101F                     move.b     D0, [A7]+
  2028. 0000135A  205F                     movea.l    A0, [A7]+
  2029. 0000135C  6604                     bne        +0x6 /* 00001362 */
  2030. 0000135E  A018                     syscall    GetFPos
  2031. 00001360  6002                     bra        +0x4 /* 00001364 */
  2032. label00001362:
  2033. 00001362  A418                     syscall    GetFPos, flags=4
  2034. label00001364:
  2035. 00001364  3E80                     move.w     [A7], D0
  2036. 00001366  4ED1                     jmp        [A1]
  2037. 00001368  225F                     movea.l    A1, [A7]+
  2038. 0000136A  101F                     move.b     D0, [A7]+
  2039. 0000136C  205F                     movea.l    A0, [A7]+
  2040. 0000136E  6604                     bne        +0x6 /* 00001374 */
  2041. 00001370  A044                     syscall    SetFPos
  2042. 00001372  6002                     bra        +0x4 /* 00001376 */
  2043. label00001374:
  2044. 00001374  A444                     syscall    SetFPos, flags=4
  2045. label00001376:
  2046. 00001376  3E80                     move.w     [A7], D0
  2047. 00001378  4ED1                     jmp        [A1]
  2048. 0000137A  225F                     movea.l    A1, [A7]+
  2049. 0000137C  101F                     move.b     D0, [A7]+
  2050. 0000137E  205F                     movea.l    A0, [A7]+
  2051. 00001380  6604                     bne        +0x6 /* 00001386 */
  2052. 00001382  A045                     syscall    FlushFile
  2053. 00001384  6002                     bra        +0x4 /* 00001388 */
  2054. label00001386:
  2055. 00001386  A445                     syscall    FlushFile, flags=4
  2056. label00001388:
  2057. 00001388  3E80                     move.w     [A7], D0
  2058. 0000138A  4ED1                     jmp        [A1]
  2059. 0000138C  225F                     movea.l    A1, [A7]+
  2060. 0000138E  205F                     movea.l    A0, [A7]+
  2061. 00001390  A00F                     syscall    MountVol
  2062. 00001392  3E80                     move.w     [A7], D0
  2063. 00001394  4ED1                     jmp        [A1]
  2064. 00001396  225F                     movea.l    A1, [A7]+
  2065. 00001398  205F                     movea.l    A0, [A7]+
  2066. 0000139A  A00E                     syscall    UnmountVol/HUnmountVol
  2067. 0000139C  3E80                     move.w     [A7], D0
  2068. 0000139E  4ED1                     jmp        [A1]
  2069. 000013A0  225F                     movea.l    A1, [A7]+
  2070. 000013A2  205F                     movea.l    A0, [A7]+
  2071. 000013A4  A017                     syscall    Eject
  2072. 000013A6  3E80                     move.w     [A7], D0
  2073. 000013A8  4ED1                     jmp        [A1]
  2074. 000013AA  225F                     movea.l    A1, [A7]+
  2075. 000013AC  205F                     movea.l    A0, [A7]+
  2076. 000013AE  A035                     syscall    OffLine/Offline
  2077. 000013B0  3E80                     move.w     [A7], D0
  2078. 000013B2  4ED1                     jmp        [A1]
  2079. 000013B4  225F                     movea.l    A1, [A7]+
  2080. 000013B6  205F                     movea.l    A0, [A7]+
  2081. 000013B8  201F                     move.l     D0, [A7]+
  2082. 000013BA  A04E                     syscall    AddDrive
  2083. 000013BC  4ED1                     jmp        [A1]
  2084. 000013BE  4E56 FFCE                link       A6, -0x0032
  2085. 000013C2  204F                     movea.l    A0, A7
  2086. 000013C4  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2087. 000013CA  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2088. 000013D0  4228 001A                clr.b      [A0 + 0x1A]
  2089. 000013D4  4228 001B                clr.b      [A0 + 0x1B]
  2090. 000013D8  42A8 001C                clr.l      [A0 + 0x1C]
  2091. 000013DC  701A                     moveq.l    D0, 0x1A
  2092. 000013DE  A060                     syscall    FSDispatch/HFSDispatch
  2093. 000013E0  0C40 FFCE                cmpi.w     D0, 0xFFCE
  2094. 000013E4  6602                     bne        +0x4 /* 000013E8 */
  2095. 000013E6  A000                     syscall    Open/PBHOpen/HOpen
  2096. label000013E8:
  2097. 000013E8  226E 0008                movea.l    A1, [A6 + 0x8]
  2098. 000013EC  32A8 0018                move.w     [A1], [A0 + 0x18]
  2099. 000013F0  3D40 0012                move.w     [A6 + 0x12], D0
  2100. 000013F4  4E5E                     unlink     A6
  2101. 000013F6  205F                     movea.l    A0, [A7]+
  2102. 000013F8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2103. 000013FC  4ED0                     jmp        [A0]
  2104. 000013FE  4E56 FFCE                link       A6, -0x0032
  2105. 00001402  204F                     movea.l    A0, A7
  2106. 00001404  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  2107. 0000140A  A001                     syscall    Close
  2108. 0000140C  3D40 000A                move.w     [A6 + 0xA], D0
  2109. 00001410  4E5E                     unlink     A6
  2110. 00001412  205F                     movea.l    A0, [A7]+
  2111. 00001414  548F                     addq.l     A7, 2
  2112. 00001416  4ED0                     jmp        [A0]
  2113. 00001418  51C1                     sf         D1
  2114. 0000141A  6002                     bra        +0x4 /* 0000141E */
  2115. 0000141C  50C1                     st         D1
  2116. label0000141E:
  2117. 0000141E  4E56 FFCE                link       A6, -0x0032
  2118. 00001422  204F                     movea.l    A0, A7
  2119. 00001424  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  2120. 0000142A  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  2121. 00001430  226E 000C                movea.l    A1, [A6 + 0xC]
  2122. 00001434  2151 0024                move.l     [A0 + 0x24], [A1]
  2123. 00001438  4268 002C                clr.w      [A0 + 0x2C]
  2124. 0000143C  42A8 002E                clr.l      [A0 + 0x2E]
  2125. 00001440  4A01                     tst.b      D1
  2126. 00001442  6604                     bne        +0x6 /* 00001448 */
  2127. 00001444  A002                     syscall    Read
  2128. 00001446  6002                     bra        +0x4 /* 0000144A */
  2129. label00001448:
  2130. 00001448  A003                     syscall    Write
  2131. label0000144A:
  2132. 0000144A  3D40 0012                move.w     [A6 + 0x12], D0
  2133. 0000144E  226E 000C                movea.l    A1, [A6 + 0xC]
  2134. 00001452  22A8 0028                move.l     [A1], [A0 + 0x28]
  2135. 00001456  4E5E                     unlink     A6
  2136. 00001458  225F                     movea.l    A1, [A7]+
  2137. 0000145A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2138. 0000145E  4ED1                     jmp        [A1]
  2139. 00001460  4E56 FFCE                link       A6, -0x0032
  2140. 00001464  204F                     movea.l    A0, A7
  2141. 00001466  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  2142. 0000146C  316E 000C 001A           move.w     [A0 + 0x1A], [A6 + 0xC]
  2143. 00001472  4AAE 0008                tst.l      [A6 + 0x8]
  2144. 00001476  6710                     beq        +0x12 /* 00001488 */
  2145. 00001478  43E8 001C                lea.l      A1, [A0 + 0x1C]
  2146. 0000147C  206E 0008                movea.l    A0, [A6 + 0x8]
  2147. 00001480  7016                     moveq.l    D0, 0x16
  2148. 00001482  A02E                     syscall    BlockMove/BlockMoveData
  2149. 00001484  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2150. label00001488:
  2151. 00001488  A004                     syscall    Control
  2152. 0000148A  3D40 0010                move.w     [A6 + 0x10], D0
  2153. 0000148E  4E5E                     unlink     A6
  2154. 00001490  225F                     movea.l    A1, [A7]+
  2155. 00001492  508F                     addq.l     A7, 8
  2156. 00001494  4ED1                     jmp        [A1]
  2157. 00001496  4E56 FFCE                link       A6, -0x0032
  2158. 0000149A  204F                     movea.l    A0, A7
  2159. 0000149C  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  2160. 000014A2  316E 000C 001A           move.w     [A0 + 0x1A], [A6 + 0xC]
  2161. 000014A8  A005                     syscall    Status
  2162. 000014AA  3D40 0010                move.w     [A6 + 0x10], D0
  2163. 000014AE  41EE FFEA                lea.l      A0, [A6 - 0x16]
  2164. 000014B2  226E 0008                movea.l    A1, [A6 + 0x8]
  2165. 000014B6  7016                     moveq.l    D0, 0x16
  2166. 000014B8  A02E                     syscall    BlockMove/BlockMoveData
  2167. 000014BA  4E5E                     unlink     A6
  2168. 000014BC  225F                     movea.l    A1, [A7]+
  2169. 000014BE  508F                     addq.l     A7, 8
  2170. 000014C0  4ED1                     jmp        [A1]
  2171. 000014C2  4E56 FFE0                link       A6, -0x0020
  2172. 000014C6  204F                     movea.l    A0, A7
  2173. 000014C8  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  2174. 000014CE  A006                     syscall    KillIO
  2175. 000014D0  3D40 000A                move.w     [A6 + 0xA], D0
  2176. 000014D4  4E5E                     unlink     A6
  2177. 000014D6  225F                     movea.l    A1, [A7]+
  2178. 000014D8  544F                     addq.w     A7, 2
  2179. 000014DA  4ED1                     jmp        [A1]
  2180. 000014DC  4E56 FF86                link       A6, -0x007A
  2181. 000014E0  204F                     movea.l    A0, A7
  2182. 000014E2  216E 0010 0012           move.l     [A0 + 0x12], [A6 + 0x10]
  2183. 000014E8  316E 0014 0016           move.w     [A0 + 0x16], [A6 + 0x14]
  2184. 000014EE  4268 001C                clr.w      [A0 + 0x1C]
  2185. 000014F2  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  2186. 000014F4  3D40 0016                move.w     [A6 + 0x16], D0
  2187. 000014F8  226E 000C                movea.l    A1, [A6 + 0xC]
  2188. 000014FC  32A8 0016                move.w     [A1], [A0 + 0x16]
  2189. 00001500  2028 0030                move.l     D0, [A0 + 0x30]
  2190. 00001504  7209                     moveq.l    D1, 0x09
  2191. 00001506  E2A0                     asr        D0, D1
  2192. 00001508  C0E8 003E                mulu.w     D0, [A0 + 0x3E]
  2193. 0000150C  E3A0                     asl        D0, D1
  2194. 0000150E  226E 0008                movea.l    A1, [A6 + 0x8]
  2195. 00001512  2280                     move.l     [A1], D0
  2196. 00001514  4E5E                     unlink     A6
  2197. 00001516  225F                     movea.l    A1, [A7]+
  2198. 00001518  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2199. 0000151C  4ED1                     jmp        [A1]
  2200. 0000151E  4E56 FFB0                link       A6, -0x0050
  2201. 00001522  204F                     movea.l    A0, A7
  2202. 00001524  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2203. 0000152A  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2204. 00001530  4228 001A                clr.b      [A0 + 0x1A]
  2205. 00001534  4268 001C                clr.w      [A0 + 0x1C]
  2206. 00001538  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2207. 0000153A  3D40 0012                move.w     [A6 + 0x12], D0
  2208. 0000153E  41E8 0020                lea.l      A0, [A0 + 0x20]
  2209. 00001542  226E 0008                movea.l    A1, [A6 + 0x8]
  2210. 00001546  7010                     moveq.l    D0, 0x10
  2211. 00001548  A02E                     syscall    BlockMove/BlockMoveData
  2212. 0000154A  4E5E                     unlink     A6
  2213. 0000154C  225F                     movea.l    A1, [A7]+
  2214. 0000154E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2215. 00001552  4ED1                     jmp        [A1]
  2216. 00001554  4E56 FFC0                link       A6, -0x0040
  2217. 00001558  204F                     movea.l    A0, A7
  2218. 0000155A  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  2219. 00001560  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2220. 00001562  3D40 0010                move.w     [A6 + 0x10], D0
  2221. 00001566  226E 0008                movea.l    A1, [A6 + 0x8]
  2222. 0000156A  32A8 0016                move.w     [A1], [A0 + 0x16]
  2223. 0000156E  4E5E                     unlink     A6
  2224. 00001570  225F                     movea.l    A1, [A7]+
  2225. 00001572  508F                     addq.l     A7, 8
  2226. 00001574  4ED1                     jmp        [A1]
  2227. 00001576  4E56 FFC0                link       A6, -0x0040
  2228. 0000157A  204F                     movea.l    A0, A7
  2229. 0000157C  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2230. 00001582  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2231. 00001588  A015                     syscall    SetVol/PBHSetVol/HSetVol
  2232. 0000158A  3D40 000E                move.w     [A6 + 0xE], D0
  2233. 0000158E  4E5E                     unlink     A6
  2234. 00001590  225F                     movea.l    A1, [A7]+
  2235. 00001592  5C8F                     addq.l     A7, 6
  2236. 00001594  4ED1                     jmp        [A1]
  2237. 00001596  4E56 FFC0                link       A6, -0x0040
  2238. 0000159A  204F                     movea.l    A0, A7
  2239. 0000159C  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2240. 000015A2  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2241. 000015A8  A00E                     syscall    UnmountVol/HUnmountVol
  2242. 000015AA  3D40 000E                move.w     [A6 + 0xE], D0
  2243. 000015AE  4E5E                     unlink     A6
  2244. 000015B0  225F                     movea.l    A1, [A7]+
  2245. 000015B2  5C8F                     addq.l     A7, 6
  2246. 000015B4  4ED1                     jmp        [A1]
  2247. 000015B6  4E56 FFC0                link       A6, -0x0040
  2248. 000015BA  204F                     movea.l    A0, A7
  2249. 000015BC  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2250. 000015C2  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2251. 000015C8  A017                     syscall    Eject
  2252. 000015CA  3D40 000E                move.w     [A6 + 0xE], D0
  2253. 000015CE  4E5E                     unlink     A6
  2254. 000015D0  225F                     movea.l    A1, [A7]+
  2255. 000015D2  5C8F                     addq.l     A7, 6
  2256. 000015D4  4ED1                     jmp        [A1]
  2257. 000015D6  4E56 FFC0                link       A6, -0x0040
  2258. 000015DA  204F                     movea.l    A0, A7
  2259. 000015DC  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2260. 000015E2  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2261. 000015E8  A013                     syscall    FlushVol
  2262. 000015EA  3D40 000E                move.w     [A6 + 0xE], D0
  2263. 000015EE  4E5E                     unlink     A6
  2264. 000015F0  225F                     movea.l    A1, [A7]+
  2265. 000015F2  5C8F                     addq.l     A7, 6
  2266. 000015F4  4ED1                     jmp        [A1]
  2267. 000015F6  4E56 FFB0                link       A6, -0x0050
  2268. 000015FA  204F                     movea.l    A0, A7
  2269. 000015FC  216E 0012 0012           move.l     [A0 + 0x12], [A6 + 0x12]
  2270. 00001602  316E 0010 0016           move.w     [A0 + 0x16], [A6 + 0x10]
  2271. 00001608  4228 001A                clr.b      [A0 + 0x1A]
  2272. 0000160C  A008                     syscall    Create/PBHCreate/HCreate
  2273. 0000160E  6616                     bne        +0x18 /* 00001626 */
  2274. 00001610  4268 001C                clr.w      [A0 + 0x1C]
  2275. 00001614  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2276. 00001616  660E                     bne        +0x10 /* 00001626 */
  2277. 00001618  43E8 0020                lea.l      A1, [A0 + 0x20]
  2278. 0000161C  22EE 0008                move.l     [A1]+, [A6 + 0x8]
  2279. 00001620  22AE 000C                move.l     [A1], [A6 + 0xC]
  2280. 00001624  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  2281. label00001626:
  2282. 00001626  3D40 0016                move.w     [A6 + 0x16], D0
  2283. 0000162A  4E5E                     unlink     A6
  2284. 0000162C  225F                     movea.l    A1, [A7]+
  2285. 0000162E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2286. 00001632  4ED1                     jmp        [A1]
  2287. 00001634  4E56 FFCE                link       A6, -0x0032
  2288. 00001638  204F                     movea.l    A0, A7
  2289. 0000163A  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2290. 00001640  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2291. 00001646  4228 001A                clr.b      [A0 + 0x1A]
  2292. 0000164A  A009                     syscall    Delete/PBHDelete/HDelete
  2293. 0000164C  3D40 000E                move.w     [A6 + 0xE], D0
  2294. 00001650  4E5E                     unlink     A6
  2295. 00001652  225F                     movea.l    A1, [A7]+
  2296. 00001654  5C8F                     addq.l     A7, 6
  2297. 00001656  4ED1                     jmp        [A1]
  2298. 00001658  4E56 FFCE                link       A6, -0x0032
  2299. 0000165C  204F                     movea.l    A0, A7
  2300. 0000165E  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2301. 00001664  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2302. 0000166A  4228 001A                clr.b      [A0 + 0x1A]
  2303. 0000166E  4228 001B                clr.b      [A0 + 0x1B]
  2304. 00001672  42A8 001C                clr.l      [A0 + 0x1C]
  2305. 00001676  A00A                     syscall    OpenRF/PBHOpenRF/HOpenRF
  2306. 00001678  3D40 0012                move.w     [A6 + 0x12], D0
  2307. 0000167C  226E 0008                movea.l    A1, [A6 + 0x8]
  2308. 00001680  32A8 0018                move.w     [A1], [A0 + 0x18]
  2309. 00001684  4E5E                     unlink     A6
  2310. 00001686  225F                     movea.l    A1, [A7]+
  2311. 00001688  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2312. 0000168C  4ED1                     jmp        [A1]
  2313. 0000168E  4E56 FFCE                link       A6, -0x0032
  2314. 00001692  204F                     movea.l    A0, A7
  2315. 00001694  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2316. 0000169A  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2317. 000016A0  4228 001A                clr.b      [A0 + 0x1A]
  2318. 000016A4  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  2319. 000016AA  A00B                     syscall    Rename/PBHRename/HRename
  2320. 000016AC  3D40 0012                move.w     [A6 + 0x12], D0
  2321. 000016B0  4E5E                     unlink     A6
  2322. 000016B2  225F                     movea.l    A1, [A7]+
  2323. 000016B4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2324. 000016B8  4ED1                     jmp        [A1]
  2325. 000016BA  4E56 FFB0                link       A6, -0x0050
  2326. 000016BE  204F                     movea.l    A0, A7
  2327. 000016C0  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2328. 000016C6  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2329. 000016CC  4228 001A                clr.b      [A0 + 0x1A]
  2330. 000016D0  4268 001C                clr.w      [A0 + 0x1C]
  2331. 000016D4  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2332. 000016D6  43E8 0020                lea.l      A1, [A0 + 0x20]
  2333. 000016DA  206E 0008                movea.l    A0, [A6 + 0x8]
  2334. 000016DE  7010                     moveq.l    D0, 0x10
  2335. 000016E0  A02E                     syscall    BlockMove/BlockMoveData
  2336. 000016E2  204F                     movea.l    A0, A7
  2337. 000016E4  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  2338. 000016E6  3D40 0012                move.w     [A6 + 0x12], D0
  2339. 000016EA  4E5E                     unlink     A6
  2340. 000016EC  225F                     movea.l    A1, [A7]+
  2341. 000016EE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2342. 000016F2  4ED1                     jmp        [A1]
  2343. 000016F4  4E56 FFCE                link       A6, -0x0032
  2344. 000016F8  204F                     movea.l    A0, A7
  2345. 000016FA  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2346. 00001700  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2347. 00001706  4228 001A                clr.b      [A0 + 0x1A]
  2348. 0000170A  A041                     syscall    SetFilLock/PBHSetFLock/HSetFLock
  2349. 0000170C  3D40 000E                move.w     [A6 + 0xE], D0
  2350. 00001710  4E5E                     unlink     A6
  2351. 00001712  225F                     movea.l    A1, [A7]+
  2352. 00001714  5C8F                     addq.l     A7, 6
  2353. 00001716  4ED1                     jmp        [A1]
  2354. 00001718  4E56 FFCE                link       A6, -0x0032
  2355. 0000171C  204F                     movea.l    A0, A7
  2356. 0000171E  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2357. 00001724  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2358. 0000172A  4228 001A                clr.b      [A0 + 0x1A]
  2359. 0000172E  A042                     syscall    RstFilLock/PBHRstFLock/HRstFLock
  2360. 00001730  3D40 000E                move.w     [A6 + 0xE], D0
  2361. 00001734  4E5E                     unlink     A6
  2362. 00001736  225F                     movea.l    A1, [A7]+
  2363. 00001738  5C8F                     addq.l     A7, 6
  2364. 0000173A  4ED1                     jmp        [A1]
  2365. 0000173C  4E56 FFCE                link       A6, -0x0032
  2366. 00001740  204F                     movea.l    A0, A7
  2367. 00001742  226E 0008                movea.l    A1, [A6 + 0x8]
  2368. 00001746  2151 0024                move.l     [A0 + 0x24], [A1]
  2369. 0000174A  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  2370. 00001750  A010                     syscall    Allocate/PBAllocContig/AllocContig
  2371. 00001752  3D40 000E                move.w     [A6 + 0xE], D0
  2372. 00001756  22A8 0028                move.l     [A1], [A0 + 0x28]
  2373. 0000175A  4E5E                     unlink     A6
  2374. 0000175C  225F                     movea.l    A1, [A7]+
  2375. 0000175E  5C8F                     addq.l     A7, 6
  2376. 00001760  4ED1                     jmp        [A1]
  2377. 00001762  4E56 FFCE                link       A6, -0x0032
  2378. 00001766  204F                     movea.l    A0, A7
  2379. 00001768  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  2380. 0000176E  A011                     syscall    GetEOF
  2381. 00001770  3D40 000E                move.w     [A6 + 0xE], D0
  2382. 00001774  226E 0008                movea.l    A1, [A6 + 0x8]
  2383. 00001778  22A8 001C                move.l     [A1], [A0 + 0x1C]
  2384. 0000177C  4E5E                     unlink     A6
  2385. 0000177E  225F                     movea.l    A1, [A7]+
  2386. 00001780  5C8F                     addq.l     A7, 6
  2387. 00001782  4ED1                     jmp        [A1]
  2388. 00001784  4E56 FFCE                link       A6, -0x0032
  2389. 00001788  204F                     movea.l    A0, A7
  2390. 0000178A  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  2391. 00001790  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  2392. 00001796  A012                     syscall    SetEOF
  2393. 00001798  3D40 000E                move.w     [A6 + 0xE], D0
  2394. 0000179C  4E5E                     unlink     A6
  2395. 0000179E  225F                     movea.l    A1, [A7]+
  2396. 000017A0  5C8F                     addq.l     A7, 6
  2397. 000017A2  4ED1                     jmp        [A1]
  2398. 000017A4  4E56 FFCE                link       A6, -0x0032
  2399. 000017A8  204F                     movea.l    A0, A7
  2400. 000017AA  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  2401. 000017B0  A018                     syscall    GetFPos
  2402. 000017B2  3D40 000E                move.w     [A6 + 0xE], D0
  2403. 000017B6  226E 0008                movea.l    A1, [A6 + 0x8]
  2404. 000017BA  22A8 002E                move.l     [A1], [A0 + 0x2E]
  2405. 000017BE  4E5E                     unlink     A6
  2406. 000017C0  225F                     movea.l    A1, [A7]+
  2407. 000017C2  5C8F                     addq.l     A7, 6
  2408. 000017C4  4ED1                     jmp        [A1]
  2409. 000017C6  4E56 FFCE                link       A6, -0x0032
  2410. 000017CA  204F                     movea.l    A0, A7
  2411. 000017CC  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  2412. 000017D2  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  2413. 000017D8  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  2414. 000017DE  A044                     syscall    SetFPos
  2415. 000017E0  3D40 0010                move.w     [A6 + 0x10], D0
  2416. 000017E4  4E5E                     unlink     A6
  2417. 000017E6  225F                     movea.l    A1, [A7]+
  2418. 000017E8  508F                     addq.l     A7, 8
  2419. 000017EA  4ED1                     jmp        [A1]
  2420. 000017EC  225F                     movea.l    A1, [A7]+
  2421. 000017EE  7200                     moveq.l    D1, 0x00
  2422. 000017F0  322F 0004                move.w     D1, [A7 + 0x4]
  2423. 000017F4  2078 034E                movea.l    A0, [0x0000034E /* FCBSPtr */]
  2424. 000017F8  3038 03F6                move.w     D0, [0x000003F6 /* FSFCBLen */]
  2425. 000017FC  6B04                     bmi        +0x6 /* 00001802 */
  2426. 000017FE  82C0                     divu.w     D1, D0
  2427. 00001800  6004                     bra        +0x6 /* 00001806 */
  2428. label00001802:
  2429. 00001802  82FC 005E                divu.w     D1, 0x5E /* '^' */
  2430. label00001806:
  2431. 00001806  4841                     swap.w     D1
  2432. 00001808  5541                     subq.w     D1, 2
  2433. 0000180A  6614                     bne        +0x16 /* 00001820 */
  2434. 0000180C  302F 0004                move.w     D0, [A7 + 0x4]
  2435. 00001810  B050                     cmp.w      D0, [A0]
  2436. 00001812  640C                     bcc        +0xE /* 00001820 */
  2437. 00001814  2070 0014                movea.l    A0, [A0 + D0.w + 0x14]
  2438. 00001818  3028 004E                move.w     D0, [A0 + 0x4E]
  2439. 0000181C  7200                     moveq.l    D1, 0x00
  2440. 0000181E  6006                     bra        +0x8 /* 00001826 */
  2441. label00001820:
  2442. 00001820  7000                     moveq.l    D0, 0x00
  2443. 00001822  323C FFCD                move.w     D1, 0xFFCD
  2444. label00001826:
  2445. 00001826  2057                     movea.l    A0, [A7]
  2446. 00001828  3080                     move.w     [A0], D0
  2447. 0000182A  5C4F                     addq.w     A7, 6
  2448. 0000182C  3E81                     move.w     [A7], D1
  2449. 0000182E  4ED1                     jmp        [A1]
  2450. 00001830  225F                     movea.l    A1, [A7]+
  2451. 00001832  101F                     move.b     D0, [A7]+
  2452. 00001834  205F                     movea.l    A0, [A7]+
  2453. 00001836  6606                     bne        +0x8 /* 0000183E */
  2454. 00001838  7001                     moveq.l    D0, 0x01
  2455. 0000183A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2456. 0000183C  6004                     bra        +0x6 /* 00001842 */
  2457. label0000183E:
  2458. 0000183E  7001                     moveq.l    D0, 0x01
  2459. 00001840  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2460. label00001842:
  2461. 00001842  3E80                     move.w     [A7], D0
  2462. 00001844  4ED1                     jmp        [A1]
  2463. 00001846  225F                     movea.l    A1, [A7]+
  2464. 00001848  101F                     move.b     D0, [A7]+
  2465. 0000184A  205F                     movea.l    A0, [A7]+
  2466. 0000184C  6606                     bne        +0x8 /* 00001854 */
  2467. 0000184E  7002                     moveq.l    D0, 0x02
  2468. 00001850  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2469. 00001852  6004                     bra        +0x6 /* 00001858 */
  2470. label00001854:
  2471. 00001854  7002                     moveq.l    D0, 0x02
  2472. 00001856  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2473. label00001858:
  2474. 00001858  3E80                     move.w     [A7], D0
  2475. 0000185A  4ED1                     jmp        [A1]
  2476. 0000185C  225F                     movea.l    A1, [A7]+
  2477. 0000185E  101F                     move.b     D0, [A7]+
  2478. 00001860  205F                     movea.l    A0, [A7]+
  2479. 00001862  6604                     bne        +0x6 /* 00001868 */
  2480. 00001864  A215                     syscall    SetVol/PBHSetVol/HSetVol, flags=2
  2481. 00001866  6002                     bra        +0x4 /* 0000186A */
  2482. label00001868:
  2483. 00001868  A615                     syscall    SetVol/PBHSetVol/HSetVol, flags=6
  2484. label0000186A:
  2485. 0000186A  3E80                     move.w     [A7], D0
  2486. 0000186C  4ED1                     jmp        [A1]
  2487. 0000186E  225F                     movea.l    A1, [A7]+
  2488. 00001870  101F                     move.b     D0, [A7]+
  2489. 00001872  205F                     movea.l    A0, [A7]+
  2490. 00001874  6604                     bne        +0x6 /* 0000187A */
  2491. 00001876  A214                     syscall    GetVol/PBHGetVol/HGetVol, flags=2
  2492. 00001878  6002                     bra        +0x4 /* 0000187C */
  2493. label0000187A:
  2494. 0000187A  A614                     syscall    GetVol/PBHGetVol/HGetVol, flags=6
  2495. label0000187C:
  2496. 0000187C  3E80                     move.w     [A7], D0
  2497. 0000187E  4ED1                     jmp        [A1]
  2498. 00001880  225F                     movea.l    A1, [A7]+
  2499. 00001882  101F                     move.b     D0, [A7]+
  2500. 00001884  205F                     movea.l    A0, [A7]+
  2501. 00001886  6606                     bne        +0x8 /* 0000188E */
  2502. 00001888  7005                     moveq.l    D0, 0x05
  2503. 0000188A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2504. 0000188C  6004                     bra        +0x6 /* 00001892 */
  2505. label0000188E:
  2506. 0000188E  7005                     moveq.l    D0, 0x05
  2507. 00001890  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2508. label00001892:
  2509. 00001892  3E80                     move.w     [A7], D0
  2510. 00001894  4ED1                     jmp        [A1]
  2511. 00001896  225F                     movea.l    A1, [A7]+
  2512. 00001898  101F                     move.b     D0, [A7]+
  2513. 0000189A  205F                     movea.l    A0, [A7]+
  2514. 0000189C  6606                     bne        +0x8 /* 000018A4 */
  2515. 0000189E  7006                     moveq.l    D0, 0x06
  2516. 000018A0  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2517. 000018A2  6004                     bra        +0x6 /* 000018A8 */
  2518. label000018A4:
  2519. 000018A4  7006                     moveq.l    D0, 0x06
  2520. 000018A6  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2521. label000018A8:
  2522. 000018A8  3E80                     move.w     [A7], D0
  2523. 000018AA  4ED1                     jmp        [A1]
  2524. 000018AC  225F                     movea.l    A1, [A7]+
  2525. 000018AE  101F                     move.b     D0, [A7]+
  2526. 000018B0  205F                     movea.l    A0, [A7]+
  2527. 000018B2  6606                     bne        +0x8 /* 000018BA */
  2528. 000018B4  7007                     moveq.l    D0, 0x07
  2529. 000018B6  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2530. 000018B8  6004                     bra        +0x6 /* 000018BE */
  2531. label000018BA:
  2532. 000018BA  7007                     moveq.l    D0, 0x07
  2533. 000018BC  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2534. label000018BE:
  2535. 000018BE  3E80                     move.w     [A7], D0
  2536. 000018C0  4ED1                     jmp        [A1]
  2537. 000018C2  225F                     movea.l    A1, [A7]+
  2538. 000018C4  101F                     move.b     D0, [A7]+
  2539. 000018C6  205F                     movea.l    A0, [A7]+
  2540. 000018C8  6606                     bne        +0x8 /* 000018D0 */
  2541. 000018CA  7008                     moveq.l    D0, 0x08
  2542. 000018CC  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2543. 000018CE  6004                     bra        +0x6 /* 000018D4 */
  2544. label000018D0:
  2545. 000018D0  7008                     moveq.l    D0, 0x08
  2546. 000018D2  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2547. label000018D4:
  2548. 000018D4  3E80                     move.w     [A7], D0
  2549. 000018D6  4ED1                     jmp        [A1]
  2550. 000018D8  225F                     movea.l    A1, [A7]+
  2551. 000018DA  101F                     move.b     D0, [A7]+
  2552. 000018DC  205F                     movea.l    A0, [A7]+
  2553. 000018DE  6606                     bne        +0x8 /* 000018E6 */
  2554. 000018E0  7009                     moveq.l    D0, 0x09
  2555. 000018E2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2556. 000018E4  6004                     bra        +0x6 /* 000018EA */
  2557. label000018E6:
  2558. 000018E6  7009                     moveq.l    D0, 0x09
  2559. 000018E8  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2560. label000018EA:
  2561. 000018EA  3E80                     move.w     [A7], D0
  2562. 000018EC  4ED1                     jmp        [A1]
  2563. 000018EE  225F                     movea.l    A1, [A7]+
  2564. 000018F0  101F                     move.b     D0, [A7]+
  2565. 000018F2  205F                     movea.l    A0, [A7]+
  2566. 000018F4  6606                     bne        +0x8 /* 000018FC */
  2567. 000018F6  700A                     moveq.l    D0, 0x0A
  2568. 000018F8  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2569. 000018FA  6004                     bra        +0x6 /* 00001900 */
  2570. label000018FC:
  2571. 000018FC  700A                     moveq.l    D0, 0x0A
  2572. 000018FE  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2573. label00001900:
  2574. 00001900  3E80                     move.w     [A7], D0
  2575. 00001902  4ED1                     jmp        [A1]
  2576. 00001904  225F                     movea.l    A1, [A7]+
  2577. 00001906  101F                     move.b     D0, [A7]+
  2578. 00001908  205F                     movea.l    A0, [A7]+
  2579. 0000190A  6604                     bne        +0x6 /* 00001910 */
  2580. 0000190C  A210                     syscall    Allocate/PBAllocContig/AllocContig, flags=2
  2581. 0000190E  6002                     bra        +0x4 /* 00001912 */
  2582. label00001910:
  2583. 00001910  A610                     syscall    Allocate/PBAllocContig/AllocContig, flags=6
  2584. label00001912:
  2585. 00001912  3E80                     move.w     [A7], D0
  2586. 00001914  4ED1                     jmp        [A1]
  2587. 00001916  225F                     movea.l    A1, [A7]+
  2588. 00001918  101F                     move.b     D0, [A7]+
  2589. 0000191A  205F                     movea.l    A0, [A7]+
  2590. 0000191C  6606                     bne        +0x8 /* 00001924 */
  2591. 0000191E  7010                     moveq.l    D0, 0x10
  2592. 00001920  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2593. 00001922  6004                     bra        +0x6 /* 00001928 */
  2594. label00001924:
  2595. 00001924  7010                     moveq.l    D0, 0x10
  2596. 00001926  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2597. label00001928:
  2598. 00001928  3E80                     move.w     [A7], D0
  2599. 0000192A  4ED1                     jmp        [A1]
  2600. 0000192C  225F                     movea.l    A1, [A7]+
  2601. 0000192E  101F                     move.b     D0, [A7]+
  2602. 00001930  205F                     movea.l    A0, [A7]+
  2603. 00001932  6606                     bne        +0x8 /* 0000193A */
  2604. 00001934  7011                     moveq.l    D0, 0x11
  2605. 00001936  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2606. 00001938  6004                     bra        +0x6 /* 0000193E */
  2607. label0000193A:
  2608. 0000193A  7011                     moveq.l    D0, 0x11
  2609. 0000193C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2610. label0000193E:
  2611. 0000193E  3E80                     move.w     [A7], D0
  2612. 00001940  4ED1                     jmp        [A1]
  2613. 00001942  225F                     movea.l    A1, [A7]+
  2614. 00001944  101F                     move.b     D0, [A7]+
  2615. 00001946  205F                     movea.l    A0, [A7]+
  2616. 00001948  6606                     bne        +0x8 /* 00001950 */
  2617. 0000194A  700B                     moveq.l    D0, 0x0B
  2618. 0000194C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2619. 0000194E  6004                     bra        +0x6 /* 00001954 */
  2620. label00001950:
  2621. 00001950  700B                     moveq.l    D0, 0x0B
  2622. 00001952  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2623. label00001954:
  2624. 00001954  3E80                     move.w     [A7], D0
  2625. 00001956  4ED1                     jmp        [A1]
  2626. 00001958  225F                     movea.l    A1, [A7]+
  2627. 0000195A  101F                     move.b     D0, [A7]+
  2628. 0000195C  205F                     movea.l    A0, [A7]+
  2629. 0000195E  6604                     bne        +0x6 /* 00001964 */
  2630. 00001960  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  2631. 00001962  6002                     bra        +0x4 /* 00001966 */
  2632. label00001964:
  2633. 00001964  A607                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
  2634. label00001966:
  2635. 00001966  3E80                     move.w     [A7], D0
  2636. 00001968  4ED1                     jmp        [A1]
  2637. 0000196A  225F                     movea.l    A1, [A7]+
  2638. 0000196C  101F                     move.b     D0, [A7]+
  2639. 0000196E  205F                     movea.l    A0, [A7]+
  2640. 00001970  6604                     bne        +0x6 /* 00001976 */
  2641. 00001972  A200                     syscall    OpenSlot, flags=2
  2642. 00001974  6002                     bra        +0x4 /* 00001978 */
  2643. label00001976:
  2644. 00001976  A600                     syscall    Open/PBHOpen/HOpen, flags=6
  2645. label00001978:
  2646. 00001978  3E80                     move.w     [A7], D0
  2647. 0000197A  4ED1                     jmp        [A1]
  2648. 0000197C  225F                     movea.l    A1, [A7]+
  2649. 0000197E  101F                     move.b     D0, [A7]+
  2650. 00001980  205F                     movea.l    A0, [A7]+
  2651. 00001982  6604                     bne        +0x6 /* 00001988 */
  2652. 00001984  A20A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=2
  2653. 00001986  6002                     bra        +0x4 /* 0000198A */
  2654. label00001988:
  2655. 00001988  A60A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=6
  2656. label0000198A:
  2657. 0000198A  3E80                     move.w     [A7], D0
  2658. 0000198C  4ED1                     jmp        [A1]
  2659. 0000198E  225F                     movea.l    A1, [A7]+
  2660. 00001990  101F                     move.b     D0, [A7]+
  2661. 00001992  205F                     movea.l    A0, [A7]+
  2662. 00001994  6604                     bne        +0x6 /* 0000199A */
  2663. 00001996  A208                     syscall    Create/PBHCreate/HCreate, flags=2
  2664. 00001998  6002                     bra        +0x4 /* 0000199C */
  2665. label0000199A:
  2666. 0000199A  A608                     syscall    Create/PBHCreate/HCreate, flags=6
  2667. label0000199C:
  2668. 0000199C  3E80                     move.w     [A7], D0
  2669. 0000199E  4ED1                     jmp        [A1]
  2670. 000019A0  225F                     movea.l    A1, [A7]+
  2671. 000019A2  101F                     move.b     D0, [A7]+
  2672. 000019A4  205F                     movea.l    A0, [A7]+
  2673. 000019A6  6604                     bne        +0x6 /* 000019AC */
  2674. 000019A8  A209                     syscall    Delete/PBHDelete/HDelete, flags=2
  2675. 000019AA  6002                     bra        +0x4 /* 000019AE */
  2676. label000019AC:
  2677. 000019AC  A609                     syscall    Delete/PBHDelete/HDelete, flags=6
  2678. label000019AE:
  2679. 000019AE  3E80                     move.w     [A7], D0
  2680. 000019B0  4ED1                     jmp        [A1]
  2681. 000019B2  225F                     movea.l    A1, [A7]+
  2682. 000019B4  101F                     move.b     D0, [A7]+
  2683. 000019B6  205F                     movea.l    A0, [A7]+
  2684. 000019B8  6604                     bne        +0x6 /* 000019BE */
  2685. 000019BA  A20B                     syscall    Rename/PBHRename/HRename, flags=2
  2686. 000019BC  6002                     bra        +0x4 /* 000019C0 */
  2687. label000019BE:
  2688. 000019BE  A60B                     syscall    Rename/PBHRename/HRename, flags=6
  2689. label000019C0:
  2690. 000019C0  3E80                     move.w     [A7], D0
  2691. 000019C2  4ED1                     jmp        [A1]
  2692. 000019C4  225F                     movea.l    A1, [A7]+
  2693. 000019C6  101F                     move.b     D0, [A7]+
  2694. 000019C8  205F                     movea.l    A0, [A7]+
  2695. 000019CA  6604                     bne        +0x6 /* 000019D0 */
  2696. 000019CC  A242                     syscall    RstFilLock/PBHRstFLock/HRstFLock, flags=2
  2697. 000019CE  6002                     bra        +0x4 /* 000019D2 */
  2698. label000019D0:
  2699. 000019D0  A642                     syscall    RstFilLock/PBHRstFLock/HRstFLock, flags=6
  2700. label000019D2:
  2701. 000019D2  3E80                     move.w     [A7], D0
  2702. 000019D4  4ED1                     jmp        [A1]
  2703. 000019D6  225F                     movea.l    A1, [A7]+
  2704. 000019D8  101F                     move.b     D0, [A7]+
  2705. 000019DA  205F                     movea.l    A0, [A7]+
  2706. 000019DC  6604                     bne        +0x6 /* 000019E2 */
  2707. 000019DE  A241                     syscall    SetFilLock/PBHSetFLock/HSetFLock, flags=2
  2708. 000019E0  6002                     bra        +0x4 /* 000019E4 */
  2709. label000019E2:
  2710. 000019E2  A641                     syscall    SetFilLock/PBHSetFLock/HSetFLock, flags=6
  2711. label000019E4:
  2712. 000019E4  3E80                     move.w     [A7], D0
  2713. 000019E6  4ED1                     jmp        [A1]
  2714. 000019E8  225F                     movea.l    A1, [A7]+
  2715. 000019EA  101F                     move.b     D0, [A7]+
  2716. 000019EC  205F                     movea.l    A0, [A7]+
  2717. 000019EE  6604                     bne        +0x6 /* 000019F4 */
  2718. 000019F0  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  2719. 000019F2  6002                     bra        +0x4 /* 000019F6 */
  2720. label000019F4:
  2721. 000019F4  A60C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
  2722. label000019F6:
  2723. 000019F6  3E80                     move.w     [A7], D0
  2724. 000019F8  4ED1                     jmp        [A1]
  2725. 000019FA  225F                     movea.l    A1, [A7]+
  2726. 000019FC  101F                     move.b     D0, [A7]+
  2727. 000019FE  205F                     movea.l    A0, [A7]+
  2728. 00001A00  6604                     bne        +0x6 /* 00001A06 */
  2729. 00001A02  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  2730. 00001A04  6002                     bra        +0x4 /* 00001A08 */
  2731. label00001A06:
  2732. 00001A06  A60D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
  2733. label00001A08:
  2734. 00001A08  3E80                     move.w     [A7], D0
  2735. 00001A0A  4ED1                     jmp        [A1]
  2736. 00001A0C  225F                     movea.l    A1, [A7]+
  2737. 00001A0E  101F                     move.b     D0, [A7]+
  2738. 00001A10  205F                     movea.l    A0, [A7]+
  2739. 00001A12  6606                     bne        +0x8 /* 00001A1A */
  2740. 00001A14  7030                     moveq.l    D0, 0x30
  2741. 00001A16  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2742. 00001A18  6004                     bra        +0x6 /* 00001A1E */
  2743. label00001A1A:
  2744. 00001A1A  7030                     moveq.l    D0, 0x30
  2745. 00001A1C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2746. label00001A1E:
  2747. 00001A1E  3E80                     move.w     [A7], D0
  2748. 00001A20  4ED1                     jmp        [A1]
  2749. 00001A22  225F                     movea.l    A1, [A7]+
  2750. 00001A24  101F                     move.b     D0, [A7]+
  2751. 00001A26  205F                     movea.l    A0, [A7]+
  2752. 00001A28  6606                     bne        +0x8 /* 00001A30 */
  2753. 00001A2A  7031                     moveq.l    D0, 0x31
  2754. 00001A2C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2755. 00001A2E  6004                     bra        +0x6 /* 00001A34 */
  2756. label00001A30:
  2757. 00001A30  7031                     moveq.l    D0, 0x31
  2758. 00001A32  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2759. label00001A34:
  2760. 00001A34  3E80                     move.w     [A7], D0
  2761. 00001A36  4ED1                     jmp        [A1]
  2762. 00001A38  225F                     movea.l    A1, [A7]+
  2763. 00001A3A  101F                     move.b     D0, [A7]+
  2764. 00001A3C  205F                     movea.l    A0, [A7]+
  2765. 00001A3E  6606                     bne        +0x8 /* 00001A46 */
  2766. 00001A40  7032                     moveq.l    D0, 0x32
  2767. 00001A42  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2768. 00001A44  6004                     bra        +0x6 /* 00001A4A */
  2769. label00001A46:
  2770. 00001A46  7032                     moveq.l    D0, 0x32
  2771. 00001A48  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2772. label00001A4A:
  2773. 00001A4A  3E80                     move.w     [A7], D0
  2774. 00001A4C  4ED1                     jmp        [A1]
  2775. 00001A4E  225F                     movea.l    A1, [A7]+
  2776. 00001A50  101F                     move.b     D0, [A7]+
  2777. 00001A52  205F                     movea.l    A0, [A7]+
  2778. 00001A54  6606                     bne        +0x8 /* 00001A5C */
  2779. 00001A56  7033                     moveq.l    D0, 0x33
  2780. 00001A58  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2781. 00001A5A  6004                     bra        +0x6 /* 00001A60 */
  2782. label00001A5C:
  2783. 00001A5C  7033                     moveq.l    D0, 0x33
  2784. 00001A5E  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2785. label00001A60:
  2786. 00001A60  3E80                     move.w     [A7], D0
  2787. 00001A62  4ED1                     jmp        [A1]
  2788. 00001A64  225F                     movea.l    A1, [A7]+
  2789. 00001A66  101F                     move.b     D0, [A7]+
  2790. 00001A68  205F                     movea.l    A0, [A7]+
  2791. 00001A6A  6606                     bne        +0x8 /* 00001A72 */
  2792. 00001A6C  7034                     moveq.l    D0, 0x34
  2793. 00001A6E  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2794. 00001A70  6004                     bra        +0x6 /* 00001A76 */
  2795. label00001A72:
  2796. 00001A72  7034                     moveq.l    D0, 0x34
  2797. 00001A74  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2798. label00001A76:
  2799. 00001A76  3E80                     move.w     [A7], D0
  2800. 00001A78  4ED1                     jmp        [A1]
  2801. 00001A7A  225F                     movea.l    A1, [A7]+
  2802. 00001A7C  101F                     move.b     D0, [A7]+
  2803. 00001A7E  205F                     movea.l    A0, [A7]+
  2804. 00001A80  6606                     bne        +0x8 /* 00001A88 */
  2805. 00001A82  7035                     moveq.l    D0, 0x35
  2806. 00001A84  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2807. 00001A86  6004                     bra        +0x6 /* 00001A8C */
  2808. label00001A88:
  2809. 00001A88  7035                     moveq.l    D0, 0x35
  2810. 00001A8A  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2811. label00001A8C:
  2812. 00001A8C  3E80                     move.w     [A7], D0
  2813. 00001A8E  4ED1                     jmp        [A1]
  2814. 00001A90  225F                     movea.l    A1, [A7]+
  2815. 00001A92  101F                     move.b     D0, [A7]+
  2816. 00001A94  205F                     movea.l    A0, [A7]+
  2817. 00001A96  6606                     bne        +0x8 /* 00001A9E */
  2818. 00001A98  7036                     moveq.l    D0, 0x36
  2819. 00001A9A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2820. 00001A9C  6004                     bra        +0x6 /* 00001AA2 */
  2821. label00001A9E:
  2822. 00001A9E  7036                     moveq.l    D0, 0x36
  2823. 00001AA0  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2824. label00001AA2:
  2825. 00001AA2  3E80                     move.w     [A7], D0
  2826. 00001AA4  4ED1                     jmp        [A1]
  2827. 00001AA6  225F                     movea.l    A1, [A7]+
  2828. 00001AA8  101F                     move.b     D0, [A7]+
  2829. 00001AAA  205F                     movea.l    A0, [A7]+
  2830. 00001AAC  6606                     bne        +0x8 /* 00001AB4 */
  2831. 00001AAE  7037                     moveq.l    D0, 0x37
  2832. 00001AB0  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2833. 00001AB2  6004                     bra        +0x6 /* 00001AB8 */
  2834. label00001AB4:
  2835. 00001AB4  7037                     moveq.l    D0, 0x37
  2836. 00001AB6  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2837. label00001AB8:
  2838. 00001AB8  3E80                     move.w     [A7], D0
  2839. 00001ABA  4ED1                     jmp        [A1]
  2840. 00001ABC  225F                     movea.l    A1, [A7]+
  2841. 00001ABE  101F                     move.b     D0, [A7]+
  2842. 00001AC0  205F                     movea.l    A0, [A7]+
  2843. 00001AC2  6606                     bne        +0x8 /* 00001ACA */
  2844. 00001AC4  7038                     moveq.l    D0, 0x38
  2845. 00001AC6  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2846. 00001AC8  6004                     bra        +0x6 /* 00001ACE */
  2847. label00001ACA:
  2848. 00001ACA  7038                     moveq.l    D0, 0x38
  2849. 00001ACC  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2850. label00001ACE:
  2851. 00001ACE  3E80                     move.w     [A7], D0
  2852. 00001AD0  4ED1                     jmp        [A1]
  2853. 00001AD2  225F                     movea.l    A1, [A7]+
  2854. 00001AD4  101F                     move.b     D0, [A7]+
  2855. 00001AD6  205F                     movea.l    A0, [A7]+
  2856. 00001AD8  6606                     bne        +0x8 /* 00001AE0 */
  2857. 00001ADA  7039                     moveq.l    D0, 0x39
  2858. 00001ADC  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2859. 00001ADE  6004                     bra        +0x6 /* 00001AE4 */
  2860. label00001AE0:
  2861. 00001AE0  7039                     moveq.l    D0, 0x39
  2862. 00001AE2  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2863. label00001AE4:
  2864. 00001AE4  3E80                     move.w     [A7], D0
  2865. 00001AE6  4ED1                     jmp        [A1]
  2866. 00001AE8  225F                     movea.l    A1, [A7]+
  2867. 00001AEA  101F                     move.b     D0, [A7]+
  2868. 00001AEC  205F                     movea.l    A0, [A7]+
  2869. 00001AEE  6606                     bne        +0x8 /* 00001AF6 */
  2870. 00001AF0  7014                     moveq.l    D0, 0x14
  2871. 00001AF2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2872. 00001AF4  6004                     bra        +0x6 /* 00001AFA */
  2873. label00001AF6:
  2874. 00001AF6  7014                     moveq.l    D0, 0x14
  2875. 00001AF8  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2876. label00001AFA:
  2877. 00001AFA  3E80                     move.w     [A7], D0
  2878. 00001AFC  4ED1                     jmp        [A1]
  2879. 00001AFE  225F                     movea.l    A1, [A7]+
  2880. 00001B00  101F                     move.b     D0, [A7]+
  2881. 00001B02  205F                     movea.l    A0, [A7]+
  2882. 00001B04  6606                     bne        +0x8 /* 00001B0C */
  2883. 00001B06  7015                     moveq.l    D0, 0x15
  2884. 00001B08  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2885. 00001B0A  6004                     bra        +0x6 /* 00001B10 */
  2886. label00001B0C:
  2887. 00001B0C  7015                     moveq.l    D0, 0x15
  2888. 00001B0E  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2889. label00001B10:
  2890. 00001B10  3E80                     move.w     [A7], D0
  2891. 00001B12  4ED1                     jmp        [A1]
  2892. 00001B14  225F                     movea.l    A1, [A7]+
  2893. 00001B16  101F                     move.b     D0, [A7]+
  2894. 00001B18  205F                     movea.l    A0, [A7]+
  2895. 00001B1A  6606                     bne        +0x8 /* 00001B22 */
  2896. 00001B1C  7016                     moveq.l    D0, 0x16
  2897. 00001B1E  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2898. 00001B20  6004                     bra        +0x6 /* 00001B26 */
  2899. label00001B22:
  2900. 00001B22  7016                     moveq.l    D0, 0x16
  2901. 00001B24  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2902. label00001B26:
  2903. 00001B26  3E80                     move.w     [A7], D0
  2904. 00001B28  4ED1                     jmp        [A1]
  2905. 00001B2A  225F                     movea.l    A1, [A7]+
  2906. 00001B2C  101F                     move.b     D0, [A7]+
  2907. 00001B2E  205F                     movea.l    A0, [A7]+
  2908. 00001B30  6606                     bne        +0x8 /* 00001B38 */
  2909. 00001B32  7017                     moveq.l    D0, 0x17
  2910. 00001B34  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2911. 00001B36  6004                     bra        +0x6 /* 00001B3C */
  2912. label00001B38:
  2913. 00001B38  7017                     moveq.l    D0, 0x17
  2914. 00001B3A  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2915. label00001B3C:
  2916. 00001B3C  3E80                     move.w     [A7], D0
  2917. 00001B3E  4ED1                     jmp        [A1]
  2918. 00001B40  225F                     movea.l    A1, [A7]+
  2919. 00001B42  101F                     move.b     D0, [A7]+
  2920. 00001B44  205F                     movea.l    A0, [A7]+
  2921. 00001B46  6606                     bne        +0x8 /* 00001B4E */
  2922. 00001B48  7018                     moveq.l    D0, 0x18
  2923. 00001B4A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2924. 00001B4C  6004                     bra        +0x6 /* 00001B52 */
  2925. label00001B4E:
  2926. 00001B4E  7018                     moveq.l    D0, 0x18
  2927. 00001B50  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2928. label00001B52:
  2929. 00001B52  3E80                     move.w     [A7], D0
  2930. 00001B54  4ED1                     jmp        [A1]
  2931. 00001B56  225F                     movea.l    A1, [A7]+
  2932. 00001B58  101F                     move.b     D0, [A7]+
  2933. 00001B5A  205F                     movea.l    A0, [A7]+
  2934. 00001B5C  6606                     bne        +0x8 /* 00001B64 */
  2935. 00001B5E  7060                     moveq.l    D0, 0x60
  2936. 00001B60  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2937. 00001B62  6004                     bra        +0x6 /* 00001B68 */
  2938. label00001B64:
  2939. 00001B64  7060                     moveq.l    D0, 0x60
  2940. 00001B66  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2941. label00001B68:
  2942. 00001B68  3E80                     move.w     [A7], D0
  2943. 00001B6A  4ED1                     jmp        [A1]
  2944. 00001B6C  225F                     movea.l    A1, [A7]+
  2945. 00001B6E  101F                     move.b     D0, [A7]+
  2946. 00001B70  205F                     movea.l    A0, [A7]+
  2947. 00001B72  6606                     bne        +0x8 /* 00001B7A */
  2948. 00001B74  7061                     moveq.l    D0, 0x61
  2949. 00001B76  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2950. 00001B78  6004                     bra        +0x6 /* 00001B7E */
  2951. label00001B7A:
  2952. 00001B7A  7061                     moveq.l    D0, 0x61
  2953. 00001B7C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2954. label00001B7E:
  2955. 00001B7E  3E80                     move.w     [A7], D0
  2956. 00001B80  4ED1                     jmp        [A1]
  2957. 00001B82  225F                     movea.l    A1, [A7]+
  2958. 00001B84  101F                     move.b     D0, [A7]+
  2959. 00001B86  205F                     movea.l    A0, [A7]+
  2960. 00001B88  6606                     bne        +0x8 /* 00001B90 */
  2961. 00001B8A  701A                     moveq.l    D0, 0x1A
  2962. 00001B8C  A060                     syscall    FSDispatch/HFSDispatch
  2963. 00001B8E  6004                     bra        +0x6 /* 00001B94 */
  2964. label00001B90:
  2965. 00001B90  701A                     moveq.l    D0, 0x1A
  2966. 00001B92  A460                     syscall    FSDispatch/HFSDispatch, flags=4
  2967. label00001B94:
  2968. 00001B94  3E80                     move.w     [A7], D0
  2969. 00001B96  4ED1                     jmp        [A1]
  2970. 00001B98  225F                     movea.l    A1, [A7]+
  2971. 00001B9A  101F                     move.b     D0, [A7]+
  2972. 00001B9C  205F                     movea.l    A0, [A7]+
  2973. 00001B9E  6606                     bne        +0x8 /* 00001BA6 */
  2974. 00001BA0  701A                     moveq.l    D0, 0x1A
  2975. 00001BA2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2976. 00001BA4  6004                     bra        +0x6 /* 00001BAA */
  2977. label00001BA6:
  2978. 00001BA6  701A                     moveq.l    D0, 0x1A
  2979. 00001BA8  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2980. label00001BAA:
  2981. 00001BAA  3E80                     move.w     [A7], D0
  2982. 00001BAC  4ED1                     jmp        [A1]
  2983. 00001BAE  225F                     movea.l    A1, [A7]+
  2984. 00001BB0  101F                     move.b     D0, [A7]+
  2985. 00001BB2  205F                     movea.l    A0, [A7]+
  2986. 00001BB4  6606                     bne        +0x8 /* 00001BBC */
  2987. 00001BB6  701B                     moveq.l    D0, 0x1B
  2988. 00001BB8  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2989. 00001BBA  6004                     bra        +0x6 /* 00001BC0 */
  2990. label00001BBC:
  2991. 00001BBC  701B                     moveq.l    D0, 0x1B
  2992. 00001BBE  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2993. label00001BC0:
  2994. 00001BC0  3E80                     move.w     [A7], D0
  2995. 00001BC2  4ED1                     jmp        [A1]
  2996. 00001BC4  225F                     movea.l    A1, [A7]+
  2997. 00001BC6  101F                     move.b     D0, [A7]+
  2998. 00001BC8  205F                     movea.l    A0, [A7]+
  2999. 00001BCA  6606                     bne        +0x8 /* 00001BD2 */
  3000. 00001BCC  7022                     moveq.l    D0, 0x22
  3001. 00001BCE  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3002. 00001BD0  6004                     bra        +0x6 /* 00001BD6 */
  3003. label00001BD2:
  3004. 00001BD2  7022                     moveq.l    D0, 0x22
  3005. 00001BD4  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3006. label00001BD6:
  3007. 00001BD6  3E80                     move.w     [A7], D0
  3008. 00001BD8  4ED1                     jmp        [A1]
  3009. 00001BDA  225F                     movea.l    A1, [A7]+
  3010. 00001BDC  101F                     move.b     D0, [A7]+
  3011. 00001BDE  205F                     movea.l    A0, [A7]+
  3012. 00001BE0  6606                     bne        +0x8 /* 00001BE8 */
  3013. 00001BE2  7023                     moveq.l    D0, 0x23
  3014. 00001BE4  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3015. 00001BE6  6004                     bra        +0x6 /* 00001BEC */
  3016. label00001BE8:
  3017. 00001BE8  7023                     moveq.l    D0, 0x23
  3018. 00001BEA  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3019. label00001BEC:
  3020. 00001BEC  3E80                     move.w     [A7], D0
  3021. 00001BEE  4ED1                     jmp        [A1]
  3022. 00001BF0  225F                     movea.l    A1, [A7]+
  3023. 00001BF2  101F                     move.b     D0, [A7]+
  3024. 00001BF4  205F                     movea.l    A0, [A7]+
  3025. 00001BF6  6606                     bne        +0x8 /* 00001BFE */
  3026. 00001BF8  7024                     moveq.l    D0, 0x24
  3027. 00001BFA  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3028. 00001BFC  6004                     bra        +0x6 /* 00001C02 */
  3029. label00001BFE:
  3030. 00001BFE  7024                     moveq.l    D0, 0x24
  3031. 00001C00  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3032. label00001C02:
  3033. 00001C02  3E80                     move.w     [A7], D0
  3034. 00001C04  4ED1                     jmp        [A1]
  3035. 00001C06  225F                     movea.l    A1, [A7]+
  3036. 00001C08  101F                     move.b     D0, [A7]+
  3037. 00001C0A  205F                     movea.l    A0, [A7]+
  3038. 00001C0C  6606                     bne        +0x8 /* 00001C14 */
  3039. 00001C0E  7025                     moveq.l    D0, 0x25
  3040. 00001C10  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3041. 00001C12  6004                     bra        +0x6 /* 00001C18 */
  3042. label00001C14:
  3043. 00001C14  7025                     moveq.l    D0, 0x25
  3044. 00001C16  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3045. label00001C18:
  3046. 00001C18  3E80                     move.w     [A7], D0
  3047. 00001C1A  4ED1                     jmp        [A1]
  3048. 00001C1C  225F                     movea.l    A1, [A7]+
  3049. 00001C1E  101F                     move.b     D0, [A7]+
  3050. 00001C20  205F                     movea.l    A0, [A7]+
  3051. 00001C22  6606                     bne        +0x8 /* 00001C2A */
  3052. 00001C24  7026                     moveq.l    D0, 0x26
  3053. 00001C26  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3054. 00001C28  6004                     bra        +0x6 /* 00001C2E */
  3055. label00001C2A:
  3056. 00001C2A  7026                     moveq.l    D0, 0x26
  3057. 00001C2C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3058. label00001C2E:
  3059. 00001C2E  3E80                     move.w     [A7], D0
  3060. 00001C30  4ED1                     jmp        [A1]
  3061. 00001C32  225F                     movea.l    A1, [A7]+
  3062. 00001C34  101F                     move.b     D0, [A7]+
  3063. 00001C36  205F                     movea.l    A0, [A7]+
  3064. 00001C38  6606                     bne        +0x8 /* 00001C40 */
  3065. 00001C3A  7027                     moveq.l    D0, 0x27
  3066. 00001C3C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3067. 00001C3E  6004                     bra        +0x6 /* 00001C44 */
  3068. label00001C40:
  3069. 00001C40  7027                     moveq.l    D0, 0x27
  3070. 00001C42  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3071. label00001C44:
  3072. 00001C44  3E80                     move.w     [A7], D0
  3073. 00001C46  4ED1                     jmp        [A1]
  3074. 00001C48  225F                     movea.l    A1, [A7]+
  3075. 00001C4A  101F                     move.b     D0, [A7]+
  3076. 00001C4C  205F                     movea.l    A0, [A7]+
  3077. 00001C4E  6606                     bne        +0x8 /* 00001C56 */
  3078. 00001C50  7028                     moveq.l    D0, 0x28
  3079. 00001C52  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3080. 00001C54  6004                     bra        +0x6 /* 00001C5A */
  3081. label00001C56:
  3082. 00001C56  7028                     moveq.l    D0, 0x28
  3083. 00001C58  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3084. label00001C5A:
  3085. 00001C5A  3E80                     move.w     [A7], D0
  3086. 00001C5C  4ED1                     jmp        [A1]
  3087. 00001C5E  225F                     movea.l    A1, [A7]+
  3088. 00001C60  101F                     move.b     D0, [A7]+
  3089. 00001C62  205F                     movea.l    A0, [A7]+
  3090. 00001C64  6606                     bne        +0x8 /* 00001C6C */
  3091. 00001C66  7029                     moveq.l    D0, 0x29
  3092. 00001C68  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3093. 00001C6A  6004                     bra        +0x6 /* 00001C70 */
  3094. label00001C6C:
  3095. 00001C6C  7029                     moveq.l    D0, 0x29
  3096. 00001C6E  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3097. label00001C70:
  3098. 00001C70  3E80                     move.w     [A7], D0
  3099. 00001C72  4ED1                     jmp        [A1]
  3100. 00001C74  225F                     movea.l    A1, [A7]+
  3101. 00001C76  101F                     move.b     D0, [A7]+
  3102. 00001C78  205F                     movea.l    A0, [A7]+
  3103. 00001C7A  6606                     bne        +0x8 /* 00001C82 */
  3104. 00001C7C  702A                     moveq.l    D0, 0x2A
  3105. 00001C7E  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3106. 00001C80  6004                     bra        +0x6 /* 00001C86 */
  3107. label00001C82:
  3108. 00001C82  702A                     moveq.l    D0, 0x2A
  3109. 00001C84  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3110. label00001C86:
  3111. 00001C86  3E80                     move.w     [A7], D0
  3112. 00001C88  4ED1                     jmp        [A1]
  3113. 00001C8A  225F                     movea.l    A1, [A7]+
  3114. 00001C8C  101F                     move.b     D0, [A7]+
  3115. 00001C8E  205F                     movea.l    A0, [A7]+
  3116. 00001C90  6606                     bne        +0x8 /* 00001C98 */
  3117. 00001C92  702B                     moveq.l    D0, 0x2B
  3118. 00001C94  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3119. 00001C96  6004                     bra        +0x6 /* 00001C9C */
  3120. label00001C98:
  3121. 00001C98  702B                     moveq.l    D0, 0x2B
  3122. 00001C9A  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3123. label00001C9C:
  3124. 00001C9C  3E80                     move.w     [A7], D0
  3125. 00001C9E  4ED1                     jmp        [A1]
  3126. 00001CA0  225F                     movea.l    A1, [A7]+
  3127. 00001CA2  101F                     move.b     D0, [A7]+
  3128. 00001CA4  205F                     movea.l    A0, [A7]+
  3129. 00001CA6  6606                     bne        +0x8 /* 00001CAE */
  3130. 00001CA8  702C                     moveq.l    D0, 0x2C
  3131. 00001CAA  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3132. 00001CAC  6004                     bra        +0x6 /* 00001CB2 */
  3133. label00001CAE:
  3134. 00001CAE  702C                     moveq.l    D0, 0x2C
  3135. 00001CB0  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3136. label00001CB2:
  3137. 00001CB2  3E80                     move.w     [A7], D0
  3138. 00001CB4  4ED1                     jmp        [A1]
  3139. 00001CB6  225F                     movea.l    A1, [A7]+
  3140. 00001CB8  101F                     move.b     D0, [A7]+
  3141. 00001CBA  205F                     movea.l    A0, [A7]+
  3142. 00001CBC  6606                     bne        +0x8 /* 00001CC4 */
  3143. 00001CBE  702D                     moveq.l    D0, 0x2D
  3144. 00001CC0  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  3145. 00001CC2  6004                     bra        +0x6 /* 00001CC8 */
  3146. label00001CC4:
  3147. 00001CC4  702D                     moveq.l    D0, 0x2D
  3148. 00001CC6  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  3149. label00001CC8:
  3150. 00001CC8  3E80                     move.w     [A7], D0
  3151. 00001CCA  4ED1                     jmp        [A1]
  3152. 00001CCC  225F                     movea.l    A1, [A7]+
  3153. 00001CCE  101F                     move.b     D0, [A7]+
  3154. 00001CD0  205F                     movea.l    A0, [A7]+
  3155. 00001CD2  6606                     bne        +0x8 /* 00001CDA */
  3156. 00001CD4  702F                     moveq.l    D0, 0x2F
  3157. 00001CD6  A060                     syscall    FSDispatch/HFSDispatch
  3158. 00001CD8  6004                     bra        +0x6 /* 00001CDE */
  3159. label00001CDA:
  3160. 00001CDA  702F                     moveq.l    D0, 0x2F
  3161. 00001CDC  A460                     syscall    FSDispatch/HFSDispatch, flags=4
  3162. label00001CDE:
  3163. 00001CDE  3E80                     move.w     [A7], D0
  3164. 00001CE0  4ED1                     jmp        [A1]
  3165. 00001CE2  225F                     movea.l    A1, [A7]+
  3166. 00001CE4  201F                     move.l     D0, [A7]+
  3167. 00001CE6  305F                     movea.w    A0, [A7]+
  3168. 00001CE8  A02F                     syscall    PostEvent/PPostEvent
  3169. 00001CEA  3E80                     move.w     [A7], D0
  3170. 00001CEC  4ED1                     jmp        [A1]
  3171. 00001CEE  221F                     move.l     D1, [A7]+
  3172. 00001CF0  225F                     movea.l    A1, [A7]+
  3173. 00001CF2  201F                     move.l     D0, [A7]+
  3174. 00001CF4  305F                     movea.w    A0, [A7]+
  3175. 00001CF6  2F01                     move.l     -[A7], D1
  3176. 00001CF8  A12F                     syscall    PostEvent/PPostEvent, flags=1
  3177. 00001CFA  2288                     move.l     [A1], A0
  3178. 00001CFC  3F40 0004                move.w     [A7 + 0x4], D0
  3179. 00001D00  4E75                     rts
  3180. 00001D02  225F                     movea.l    A1, [A7]+
  3181. 00001D04  205F                     movea.l    A0, [A7]+
  3182. 00001D06  301F                     move.w     D0, [A7]+
  3183. 00001D08  A030                     syscall    OSEventAvail
  3184. 00001D0A  5240                     addq.w     D0, 1
  3185. 00001D0C  1E80                     move.b     [A7], D0
  3186. 00001D0E  4ED1                     jmp        [A1]
  3187. 00001D10  225F                     movea.l    A1, [A7]+
  3188. 00001D12  205F                     movea.l    A0, [A7]+
  3189. 00001D14  301F                     move.w     D0, [A7]+
  3190. 00001D16  A031                     syscall    GetOSEvent
  3191. 00001D18  5240                     addq.w     D0, 1
  3192. 00001D1A  1E80                     move.b     [A7], D0
  3193. 00001D1C  4ED1                     jmp        [A1]
  3194. 00001D1E  205F                     movea.l    A0, [A7]+
  3195. 00001D20  301F                     move.w     D0, [A7]+
  3196. 00001D22  2F08                     move.l     -[A7], A0
  3197. 00001D24  4E56 FFE0                link       A6, -0x0020
  3198. 00001D28  204F                     movea.l    A0, A7
  3199. 00001D2A  317C FFFC 0018           move.w     [A0 + 0x18], 0xFFFC
  3200. 00001D30  317C 0002 001A           move.w     [A0 + 0x1A], 0x2
  3201. 00001D36  3140 001C                move.w     [A0 + 0x1C], D0
  3202. 00001D3A  A204                     syscall    Control, flags=2
  3203. 00001D3C  4E5E                     unlink     A6
  3204. 00001D3E  4E75                     rts
  3205. 00001D40  205F                     movea.l    A0, [A7]+
  3206. 00001D42  225F                     movea.l    A1, [A7]+
  3207. 00001D44  4219                     clr.b      [A1]+
  3208. 00001D46  12B8 0260                move.b     [A1], [0x00000260 /* SdVolume */]
  3209. 00001D4A  4ED0                     jmp        [A0]
  3210. 00001D4C  2078 0AE8                movea.l    A0, [0x00000AE8 /* SoundGlue */]
  3211. 00001D50  2008                     move.l     D0, A0
  3212. 00001D52  6A1E                     bpl        +0x20 /* 00001D72 */
  3213. 00001D54  703A                     moveq.l    D0, 0x3A
  3214. 00001D56  A322                     syscall    NewHandleClear, flags=3
  3215. 00001D58  6600 00E0                bne        +0xE2 /* 00001E3A */
  3216. 00001D5C  A029                     syscall    HLock
  3217. 00001D5E  21C8 0AE8                move.l     [0x00000AE8 /* SoundGlue */], A0
  3218. 00001D62  2250                     movea.l    A1, [A0]
  3219. 00001D64  2378 033C 0034           move.l     [A1 + 0x34], [0x0000033C /* IAZNotify */]
  3220. 00001D6A  43FA 010C                lea.l      A1, [PC + 0x10C /* 00001E78, value 0x61E42038 */]
  3221. 00001D6E  21C9 033C                move.l     [0x0000033C /* IAZNotify */], A1
  3222. label00001D72:
  3223. 00001D72  2250                     movea.l    A1, [A0]
  3224. 00001D74  4A69 0010                tst.w      [A1 + 0x10]
  3225. 00001D78  6F00 0084                ble        +0x86 /* 00001DFE */
  3226. 00001D7C  222F 0004                move.l     D1, [A7 + 0x4]
  3227. 00001D80  B0B8 0A06                cmp.l      D0, [0x00000A06 /* MinusOne */]
  3228. 00001D84  6772                     beq        +0x74 /* 00001DF8 */
  3229. 00001D86  50E9 0039                st         [A1 + 0x39]
  3230. 00001D8A  3229 0032                move.w     D1, [A1 + 0x32]
  3231. 00001D8E  2408                     move.l     D2, A0
  3232. 00001D90  48E7 6000                movem.l    -[A7], D1,D2
  3233. 00001D94  A9E1                     syscall    HandToHand
  3234. 00001D96  4CDF 0006                movem.l    D1,D2, [A7]+
  3235. 00001D9A  4A40                     tst.w      D0
  3236. 00001D9C  6600 0098                bne        +0x9A /* 00001E36 */
  3237. 00001DA0  7000                     moveq.l    D0, 0x00
  3238. 00001DA2  0641 000C                addi.w     D1, 0xC
  3239. 00001DA6  3001                     move.w     D0, D1
  3240. 00001DA8  A024                     syscall    SetHandleSize
  3241. 00001DAA  6600 008A                bne        +0x8C /* 00001E36 */
  3242. 00001DAE  A029                     syscall    HLock
  3243. 00001DB0  21C8 0AE8                move.l     [0x00000AE8 /* SoundGlue */], A0
  3244. 00001DB4  2250                     movea.l    A1, [A0]
  3245. 00001DB6  2078 027A                movea.l    A0, [0x0000027A /* SoundDCE */]
  3246. 00001DBA  2149 0008                move.l     [A0 + 0x8], A1
  3247. 00001DBE  2149 000C                move.l     [A0 + 0xC], A1
  3248. 00001DC2  2042                     movea.l    A0, D2
  3249. 00001DC4  2050                     movea.l    A0, [A0]
  3250. 00001DC6  1028 0038                move.b     D0, [A0 + 0x38]
  3251. 00001DCA  8129 0038                or.b       [A1 + 0x38], D0
  3252. 00001DCE  2042                     movea.l    A0, D2
  3253. 00001DD0  A023                     syscall    DisposHandle/DisposeHandle
  3254. 00001DD2  3341 0032                move.w     [A1 + 0x32], D1
  3255. 00001DD6  08A9 0000 0038           bclr.b     [A1 + 0x38], 0x0
  3256. 00001DDC  6708                     beq        +0xA /* 00001DE6 */
  3257. 00001DDE  4269 0010                clr.w      [A1 + 0x10]
  3258. 00001DE2  4EBA 00A0                jsr        [PC + 0xA0 /* 00001E84 */]
  3259. label00001DE6:
  3260. 00001DE6  51E9 0039                sf         [A1 + 0x39]
  3261. 00001DEA  D2C1                     add.w      A1, D1
  3262. 00001DEC  700C                     moveq.l    D0, 0x0C
  3263. 00001DEE  92C0                     sub.w      A1, D0
  3264. 00001DF0  41EF 0004                lea.l      A0, [A7 + 0x4]
  3265. 00001DF4  A02E                     syscall    BlockMove/BlockMoveData
  3266. 00001DF6  6042                     bra        +0x44 /* 00001E3A */
  3267. label00001DF8:
  3268. 00001DF8  3029 0010                move.w     D0, [A1 + 0x10]
  3269. 00001DFC  6EFA                     bgt        -0x4 /* 00001DF8 */
  3270. label00001DFE:
  3271. 00001DFE  2049                     movea.l    A0, A1
  3272. 00001E00  317C 003A 0032           move.w     [A0 + 0x32], 0x3A /* ':' */
  3273. 00001E06  216F 0008 0024           move.l     [A0 + 0x24], [A7 + 0x8]
  3274. 00001E0C  216F 000C 0020           move.l     [A0 + 0x20], [A7 + 0xC]
  3275. 00001E12  317C FFFC 0018           move.w     [A0 + 0x18], 0xFFFC
  3276. 00001E18  222F 0004                move.l     D1, [A7 + 0x4]
  3277. 00001E1C  B2B8 0A06                cmp.l      D1, [0x00000A06 /* MinusOne */]
  3278. 00001E20  6604                     bne        +0x6 /* 00001E26 */
  3279. 00001E22  A003                     syscall    Write
  3280. 00001E24  6012                     bra        +0x14 /* 00001E38 */
  3281. label00001E26:
  3282. 00001E26  2141 001C                move.l     [A0 + 0x1C], D1
  3283. 00001E2A  43FA 0058                lea.l      A1, [PC + 0x58 /* 00001E84, value 0x48E7E0C0 */]
  3284. 00001E2E  2149 000C                move.l     [A0 + 0xC], A1
  3285. 00001E32  A403                     syscall    Write, flags=4
  3286. 00001E34  4A40                     tst.w      D0
  3287. label00001E36:
  3288. 00001E36  6702                     beq        +0x4 /* 00001E3A */
  3289. label00001E38:
  3290. 00001E38  6108                     bsr        +0xA /* 00001E42 */
  3291. label00001E3A:
  3292. 00001E3A  225F                     movea.l    A1, [A7]+
  3293. 00001E3C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3294. 00001E40  4ED1                     jmp        [A1]
  3295. fn00001E42:
  3296. 00001E42  2078 0AE8                movea.l    A0, [0x00000AE8 /* SoundGlue */]
  3297. 00001E46  B0F8 0A06                cmpa.w     A0, [0x00000A06 /* MinusOne */]
  3298. 00001E4A  6710                     beq        +0x12 /* 00001E5C */
  3299. 00001E4C  2250                     movea.l    A1, [A0]
  3300. 00001E4E  21E9 0034 033C           move.l     [0x0000033C /* IAZNotify */], [A1 + 0x34]
  3301. 00001E54  A023                     syscall    DisposHandle/DisposeHandle
  3302. 00001E56  21F8 0A06 0AE8           move.l     [0x00000AE8 /* SoundGlue */], [0x00000A06 /* MinusOne */]
  3303. label00001E5C:
  3304. 00001E5C  4E75                     rts
  3305. fn00001E5E:
  3306. 00001E5E  4E56 FFE0                link       A6, -0x0020
  3307. 00001E62  41EE FFE0                lea.l      A0, [A6 - 0x20]
  3308. 00001E66  317C FFFC 0018           move.w     [A0 + 0x18], 0xFFFC
  3309. 00001E6C  A206                     syscall    KillIO, flags=2
  3310. 00001E6E  4278 0280                clr.w      [0x00000280 /* CurPitch */]
  3311. 00001E72  61CE                     bsr        -0x30 /* 00001E42 */
  3312. 00001E74  4E5E                     unlink     A6
  3313. label00001E76:
  3314. 00001E76  4E75                     rts
  3315. 00001E78  61E4                     bsr        -0x1A /* 00001E5E */
  3316. 00001E7A  2038 033C                move.l     D0, [0x0000033C /* IAZNotify */]
  3317. 00001E7E  6FF6                     ble        -0x8 /* 00001E76 */
  3318. 00001E80  2040                     movea.l    A0, D0
  3319. 00001E82  4ED0                     jmp        [A0]
  3320. fn00001E84:
  3321. 00001E84  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  3322. 00001E88  2078 0AE8                movea.l    A0, [0x00000AE8 /* SoundGlue */]
  3323. 00001E8C  2050                     movea.l    A0, [A0]
  3324. 00001E8E  4A28 0039                tst.b      [A0 + 0x39]
  3325. 00001E92  6706                     beq        +0x8 /* 00001E9A */
  3326. 00001E94  50E8 0038                st         [A0 + 0x38]
  3327. 00001E98  6068                     bra        +0x6A /* 00001F02 */
  3328. label00001E9A:
  3329. 00001E9A  3028 0032                move.w     D0, [A0 + 0x32]
  3330. 00001E9E  2228 001C                move.l     D1, [A0 + 0x1C]
  3331. 00001EA2  670C                     beq        +0xE /* 00001EB0 */
  3332. 00001EA4  2241                     movea.l    A1, D1
  3333. 00001EA6  48E7 8080                movem.l    -[A7], D0,A0
  3334. 00001EAA  4E91                     jsr        [A1]
  3335. 00001EAC  4CDF 0101                movem.l    D0,A0, [A7]+
  3336. label00001EB0:
  3337. 00001EB0  0C40 003A                cmpi.w     D0, 0x3A /* ':' */
  3338. 00001EB4  6606                     bne        +0x8 /* 00001EBC */
  3339. 00001EB6  4EBA FF8A                jsr        [PC - 0x76 /* 00001E42 */]
  3340. 00001EBA  6046                     bra        +0x48 /* 00001F02 */
  3341. label00001EBC:
  3342. 00001EBC  2248                     movea.l    A1, A0
  3343. 00001EBE  41E8 003A                lea.l      A0, [A0 + 0x3A]
  3344. 00001EC2  2358 001C                move.l     [A1 + 0x1C], [A0]+
  3345. 00001EC6  2358 0024                move.l     [A1 + 0x24], [A0]+
  3346. 00001ECA  2358 0020                move.l     [A1 + 0x20], [A0]+
  3347. 00001ECE  337C FFFC 0018           move.w     [A1 + 0x18], 0xFFFC
  3348. 00001ED4  7246                     moveq.l    D1, 0x46
  3349. 00001ED6  9041                     sub.w      D0, D1
  3350. 00001ED8  6712                     beq        +0x14 /* 00001EEC */
  3351. 00001EDA  3200                     move.w     D1, D0
  3352. 00001EDC  48C0                     ext.l      D0
  3353. 00001EDE  2248                     movea.l    A1, A0
  3354. 00001EE0  92FC 000C                sub.w      A1, 0xC
  3355. 00001EE4  A02E                     syscall    BlockMove/BlockMoveData
  3356. 00001EE6  0641 003A                addi.w     D1, 0x3A /* ':' */
  3357. 00001EEA  6002                     bra        +0x4 /* 00001EEE */
  3358. label00001EEC:
  3359. 00001EEC  723A                     moveq.l    D1, 0x3A
  3360. label00001EEE:
  3361. 00001EEE  2078 0AE8                movea.l    A0, [0x00000AE8 /* SoundGlue */]
  3362. 00001EF2  2050                     movea.l    A0, [A0]
  3363. 00001EF4  3141 0032                move.w     [A0 + 0x32], D1
  3364. 00001EF8  43FA FF8A                lea.l      A1, [PC - 0x76 /* 00001E84, value 0x48E7E0C0 */]
  3365. 00001EFC  2149 000C                move.l     [A0 + 0xC], A1
  3366. 00001F00  A403                     syscall    Write, flags=4
  3367. label00001F02:
  3368. 00001F02  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  3369. 00001F06  4E75                     rts
  3370. 00001F08  225F                     movea.l    A1, [A7]+
  3371. 00001F0A  50D7                     st         [A7]
  3372. 00001F0C  2078 0AE8                movea.l    A0, [0x00000AE8 /* SoundGlue */]
  3373. 00001F10  B0F8 0A06                cmpa.w     A0, [0x00000A06 /* MinusOne */]
  3374. 00001F14  6708                     beq        +0xA /* 00001F1E */
  3375. 00001F16  2050                     movea.l    A0, [A0]
  3376. 00001F18  4A68 0010                tst.w      [A0 + 0x10]
  3377. 00001F1C  5FD7                     sle        [A7]
  3378. label00001F1E:
  3379. 00001F1E  4417                     neg.b      [A7]
  3380. 00001F20  4ED1                     jmp        [A1]
  3381. 00001F22  226F 0004                movea.l    A1, [A7 + 0x4]
  3382. 00001F26  4251                     clr.w      [A1]
  3383. 00001F28  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  3384. 00001F2C  A025                     syscall    GetHandleSize
  3385. 00001F2E  4A80                     tst.l      D0
  3386. 00001F30  6F0E                     ble        +0x10 /* 00001F40 */
  3387. 00001F32  2050                     movea.l    A0, [A0]
  3388. 00001F34  226F 0008                movea.l    A1, [A7 + 0x8]
  3389. 00001F38  3298                     move.w     [A1], [A0]+
  3390. 00001F3A  226F 0004                movea.l    A1, [A7 + 0x4]
  3391. 00001F3E  3290                     move.w     [A1], [A0]
  3392. label00001F40:
  3393. 00001F40  205F                     movea.l    A0, [A7]+
  3394. 00001F42  504F                     addq.w     A7, 8
  3395. 00001F44  4ED0                     jmp        [A0]
  3396. 00001F46  48E7 0030                movem.l    -[A7], A2,A3
  3397. 00001F4A  226F 000C                movea.l    A1, [A7 + 0xC]
  3398. 00001F4E  42A9 0002                clr.l      [A1 + 0x2]
  3399. 00001F52  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  3400. 00001F56  A025                     syscall    GetHandleSize
  3401. 00001F58  4A80                     tst.l      D0
  3402. 00001F5A  6F26                     ble        +0x28 /* 00001F82 */
  3403. 00001F5C  2450                     movea.l    A2, [A0]
  3404. 00001F5E  544A                     addq.w     A2, 2
  3405. 00001F60  322F 0010                move.w     D1, [A7 + 0x10]
  3406. 00001F64  B25A                     cmp.w      D1, [A2]+
  3407. 00001F66  6E1A                     bgt        +0x1C /* 00001F82 */
  3408. 00001F68  5341                     subq.w     D1, 1
  3409. label00001F6A:
  3410. 00001F6A  6D16                     blt        +0x18 /* 00001F82 */
  3411. 00001F6C  204A                     movea.l    A0, A2
  3412. 00001F6E  7002                     moveq.l    D0, 0x02
  3413. 00001F70  D028 0008                add.b      D0, [A0 + 0x8]
  3414. 00001F74  0240 FFFE                andi.w     D0, 0xFFFE
  3415. 00001F78  5040                     addq.w     D0, 8
  3416. 00001F7A  D4C0                     add.w      A2, D0
  3417. 00001F7C  A02E                     syscall    BlockMove/BlockMoveData
  3418. 00001F7E  5341                     subq.w     D1, 1
  3419. 00001F80  60E8                     bra        -0x16 /* 00001F6A */
  3420. label00001F82:
  3421. 00001F82  4CDF 0C00                movem.l    A2,A3, [A7]+
  3422. 00001F86  205F                     movea.l    A0, [A7]+
  3423. 00001F88  5C4F                     addq.w     A7, 6
  3424. 00001F8A  4ED0                     jmp        [A0]
  3425. 00001F8C  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  3426. 00001F90  A025                     syscall    GetHandleSize
  3427. 00001F92  4A80                     tst.l      D0
  3428. 00001F94  6F28                     ble        +0x2A /* 00001FBE */
  3429. 00001F96  2050                     movea.l    A0, [A0]
  3430. 00001F98  5448                     addq.w     A0, 2
  3431. 00001F9A  322F 0004                move.w     D1, [A7 + 0x4]
  3432. 00001F9E  B258                     cmp.w      D1, [A0]+
  3433. 00001FA0  6E1C                     bgt        +0x1E /* 00001FBE */
  3434. 00001FA2  5341                     subq.w     D1, 1
  3435. label00001FA4:
  3436. 00001FA4  6D18                     blt        +0x1A /* 00001FBE */
  3437. 00001FA6  6712                     beq        +0x14 /* 00001FBA */
  3438. 00001FA8  7002                     moveq.l    D0, 0x02
  3439. 00001FAA  D028 0008                add.b      D0, [A0 + 0x8]
  3440. 00001FAE  0240 FFFE                andi.w     D0, 0xFFFE
  3441. 00001FB2  5040                     addq.w     D0, 8
  3442. 00001FB4  D0C0                     add.w      A0, D0
  3443. 00001FB6  5341                     subq.w     D1, 1
  3444. 00001FB8  60EA                     bra        -0x14 /* 00001FA4 */
  3445. label00001FBA:
  3446. 00001FBA  42A8 0002                clr.l      [A0 + 0x2]
  3447. label00001FBE:
  3448. 00001FBE  205F                     movea.l    A0, [A7]+
  3449. 00001FC0  544F                     addq.w     A7, 2
  3450. 00001FC2  4ED0                     jmp        [A0]
  3451. 00001FC4  A061                     syscall    MaxBlock
  3452. 00001FC6  2F40 0004                move.l     [A7 + 0x4], D0
  3453. 00001FCA  4E75                     rts
  3454. 00001FCC  A461                     syscall    MaxBlock, flags=4
  3455. 00001FCE  2F40 0004                move.l     [A7 + 0x4], D0
  3456. 00001FD2  4E75                     rts
  3457. 00001FD4  A162                     syscall    PurgeSpace, flags=1
  3458. 00001FD6  226F 0004                movea.l    A1, [A7 + 0x4]
  3459. 00001FDA  2288                     move.l     [A1], A0
  3460. 00001FDC  226F 0008                movea.l    A1, [A7 + 0x8]
  3461. 00001FE0  2280                     move.l     [A1], D0
  3462. 00001FE2  225F                     movea.l    A1, [A7]+
  3463. 00001FE4  504F                     addq.w     A7, 8
  3464. 00001FE6  4ED1                     jmp        [A1]
  3465. 00001FE8  A065                     syscall    StackSpace
  3466. 00001FEA  2F40 0004                move.l     [A7 + 0x4], D0
  3467. 00001FEE  4E75                     rts
  3468. 00001FF0  A166                     syscall    NewEmptyHandle, flags=1
  3469. 00001FF2  2F48 0004                move.l     [A7 + 0x4], A0
  3470. 00001FF6  4E75                     rts
  3471. 00001FF8  A566                     syscall    NewEmptyHandle, flags=5
  3472. 00001FFA  2F48 0004                move.l     [A7 + 0x4], A0
  3473. 00001FFE  4E75                     rts
  3474. 00002000  225F                     movea.l    A1, [A7]+
  3475. 00002002  205F                     movea.l    A0, [A7]+
  3476. 00002004  A069                     syscall    HGetState
  3477. 00002006  1E80                     move.b     [A7], D0
  3478. 00002008  4ED1                     jmp        [A1]
  3479. 0000200A  225F                     movea.l    A1, [A7]+
  3480. 0000200C  101F                     move.b     D0, [A7]+
  3481. 0000200E  205F                     movea.l    A0, [A7]+
  3482. 00002010  A06A                     syscall    HSetState
  3483. 00002012  4ED1                     jmp        [A1]
  3484. 00002014  206F 0004                movea.l    A0, [A7 + 0x4]
  3485. 00002018  A082                     syscall    DTInstall
  3486. 0000201A  205F                     movea.l    A0, [A7]+
  3487. 0000201C  588F                     addq.l     A7, 4
  3488. 0000201E  3E80                     move.w     [A7], D0
  3489. 00002020  4ED0                     jmp        [A0]
  3490. 00002022  4E56 0000                link       A6, 0
  3491. 00002026  206E 0010                movea.l    A0, [A6 + 0x10]
  3492. 0000202A  226E 000C                movea.l    A1, [A6 + 0xC]
  3493. 0000202E  7000                     moveq.l    D0, 0x00
  3494. 00002030  1018                     move.b     D0, [A0]+
  3495. 00002032  4840                     swap.w     D0
  3496. 00002034  1019                     move.b     D0, [A1]+
  3497. 00002036  4A2E 0008                tst.b      [A6 + 0x8]
  3498. 0000203A  670E                     beq        +0x10 /* 0000204A */
  3499. 0000203C  4A2E 000A                tst.b      [A6 + 0xA]
  3500. 00002040  6704                     beq        +0x6 /* 00002046 */
  3501. 00002042  A450                     syscall    RelString/CompareString, flags=4
  3502. 00002044  6010                     bra        +0x12 /* 00002056 */
  3503. label00002046:
  3504. 00002046  A050                     syscall    RelString/CompareString
  3505. 00002048  600C                     bra        +0xE /* 00002056 */
  3506. label0000204A:
  3507. 0000204A  4A2E 000A                tst.b      [A6 + 0xA]
  3508. 0000204E  6704                     beq        +0x6 /* 00002054 */
  3509. 00002050  A650                     syscall    RelString/CompareString, flags=6
  3510. 00002052  6002                     bra        +0x4 /* 00002056 */
  3511. label00002054:
  3512. 00002054  A250                     syscall    RelString/CompareString, flags=2
  3513. label00002056:
  3514. 00002056  3D40 0014                move.w     [A6 + 0x14], D0
  3515. 0000205A  4E5E                     unlink     A6
  3516. 0000205C  205F                     movea.l    A0, [A7]+
  3517. 0000205E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3518. 00002062  4ED0                     jmp        [A0]
  3519. 00002064  1F78 0CB2 0004           move.b     [A7 + 0x4], [0x00000CB2 /* MMU32bit */]
  3520. 0000206A  4E75                     rts
  3521. 0000206C  206F 0004                movea.l    A0, [A7 + 0x4]
  3522. 00002070  1010                     move.b     D0, [A0]
  3523. 00002072  A05D                     syscall    SwapMMUMode
  3524. 00002074  206F 0004                movea.l    A0, [A7 + 0x4]
  3525. 00002078  1080                     move.b     [A0], D0
  3526. 0000207A  205F                     movea.l    A0, [A7]+
  3527. 0000207C  584F                     addq.w     A7, 4
  3528. 0000207E  4ED0                     jmp        [A0]
  3529. 00002080  225F                     movea.l    A1, [A7]+
  3530. 00002082  7000                     moveq.l    D0, 0x00
  3531. 00002084  101F                     move.b     D0, [A7]+
  3532. 00002086  2040                     movea.l    A0, D0
  3533. 00002088  4240                     clr.w      D0
  3534. 0000208A  A198                     syscall    HWPriv, flags=1
  3535. 0000208C  3008                     move.w     D0, A0
  3536. 0000208E  4A40                     tst.w      D0
  3537. 00002090  6702                     beq        +0x4 /* 00002094 */
  3538. 00002092  7001                     moveq.l    D0, 0x01
  3539. label00002094:
  3540. 00002094  1E80                     move.b     [A7], D0
  3541. 00002096  4ED1                     jmp        [A1]
  3542. 00002098  225F                     movea.l    A1, [A7]+
  3543. 0000209A  7001                     moveq.l    D0, 0x01
  3544. 0000209C  A198                     syscall    HWPriv, flags=1
  3545. 0000209E  4ED1                     jmp        [A1]
  3546. 000020A0  225F                     movea.l    A1, [A7]+
  3547. 000020A2  7000                     moveq.l    D0, 0x00
  3548. 000020A4  101F                     move.b     D0, [A7]+
  3549. 000020A6  2040                     movea.l    A0, D0
  3550. 000020A8  303C 0002                move.w     D0, 0x2
  3551. 000020AC  A198                     syscall    HWPriv, flags=1
  3552. 000020AE  3008                     move.w     D0, A0
  3553. 000020B0  4A40                     tst.w      D0
  3554. 000020B2  6702                     beq        +0x4 /* 000020B6 */
  3555. 000020B4  7001                     moveq.l    D0, 0x01
  3556. label000020B6:
  3557. 000020B6  1E80                     move.b     [A7], D0
  3558. 000020B8  4ED1                     jmp        [A1]
  3559. 000020BA  225F                     movea.l    A1, [A7]+
  3560. 000020BC  7003                     moveq.l    D0, 0x03
  3561. 000020BE  A198                     syscall    HWPriv, flags=1
  3562. 000020C0  4ED1                     jmp        [A1]
  3563. 000020C2  225F                     movea.l    A1, [A7]+
  3564. 000020C4  205F                     movea.l    A0, [A7]+
  3565. 000020C6  A057                     syscall    SetAppBase/SetApplBase
  3566. 000020C8  4ED1                     jmp        [A1]
  3567. 000020CA  A02C                     syscall    InitApplZone
  3568. 000020CC  4E75                     rts
  3569. 000020CE  A11A                     syscall    GetZone, flags=1
  3570. 000020D0  2F48 0004                move.l     [A7 + 0x4], A0
  3571. 000020D4  4E75                     rts
  3572. 000020D6  225F                     movea.l    A1, [A7]+
  3573. 000020D8  205F                     movea.l    A0, [A7]+
  3574. 000020DA  A01B                     syscall    SetZone
  3575. 000020DC  4ED1                     jmp        [A1]
  3576. 000020DE  225F                     movea.l    A1, [A7]+
  3577. 000020E0  201F                     move.l     D0, [A7]+
  3578. 000020E2  A04D                     syscall    PurgeMem
  3579. 000020E4  4ED1                     jmp        [A1]
  3580. 000020E6  A01C                     syscall    FreeMem
  3581. 000020E8  2F40 0004                move.l     [A7 + 0x4], D0
  3582. 000020EC  4E75                     rts
  3583. 000020EE  225F                     movea.l    A1, [A7]+
  3584. 000020F0  201F                     move.l     D0, [A7]+
  3585. 000020F2  A040                     syscall    ResrvMem/ReserveMem
  3586. 000020F4  4ED1                     jmp        [A1]
  3587. 000020F6  225F                     movea.l    A1, [A7]+
  3588. 000020F8  205F                     movea.l    A0, [A7]+
  3589. 000020FA  A04B                     syscall    SetGrowZone
  3590. 000020FC  4ED1                     jmp        [A1]
  3591. 000020FE  225F                     movea.l    A1, [A7]+
  3592. 00002100  205F                     movea.l    A0, [A7]+
  3593. 00002102  A02D                     syscall    SetApplLimit
  3594. 00002104  4ED1                     jmp        [A1]
  3595. 00002106  A063                     syscall    MaxApplZone
  3596. 00002108  4E75                     rts
  3597. 0000210A  225F                     movea.l    A1, [A7]+
  3598. 0000210C  205F                     movea.l    A0, [A7]+
  3599. 0000210E  A064                     syscall    MoveHHi
  3600. 00002110  4ED1                     jmp        [A1]
  3601. 00002112  225F                     movea.l    A1, [A7]+
  3602. 00002114  205F                     movea.l    A0, [A7]+
  3603. 00002116  A01F                     syscall    DisposPtr/DisposePtr
  3604. 00002118  4ED1                     jmp        [A1]
  3605. 0000211A  225F                     movea.l    A1, [A7]+
  3606. 0000211C  205F                     movea.l    A0, [A7]+
  3607. 0000211E  A023                     syscall    DisposHandle/DisposeHandle
  3608. 00002120  4ED1                     jmp        [A1]
  3609. 00002122  225F                     movea.l    A1, [A7]+
  3610. 00002124  205F                     movea.l    A0, [A7]+
  3611. 00002126  A02B                     syscall    EmptyHandle
  3612. 00002128  4ED1                     jmp        [A1]
  3613. 0000212A  225F                     movea.l    A1, [A7]+
  3614. 0000212C  205F                     movea.l    A0, [A7]+
  3615. 0000212E  A029                     syscall    HLock
  3616. 00002130  4ED1                     jmp        [A1]
  3617. 00002132  225F                     movea.l    A1, [A7]+
  3618. 00002134  205F                     movea.l    A0, [A7]+
  3619. 00002136  A02A                     syscall    HUnlock
  3620. 00002138  4ED1                     jmp        [A1]
  3621. 0000213A  225F                     movea.l    A1, [A7]+
  3622. 0000213C  205F                     movea.l    A0, [A7]+
  3623. 0000213E  A049                     syscall    HPurge
  3624. 00002140  4ED1                     jmp        [A1]
  3625. 00002142  225F                     movea.l    A1, [A7]+
  3626. 00002144  205F                     movea.l    A0, [A7]+
  3627. 00002146  A04A                     syscall    HNoPurge
  3628. 00002148  4ED1                     jmp        [A1]
  3629. 0000214A  225F                     movea.l    A1, [A7]+
  3630. 0000214C  205F                     movea.l    A0, [A7]+
  3631. 0000214E  A067                     syscall    HSetRBit
  3632. 00002150  4ED1                     jmp        [A1]
  3633. 00002152  225F                     movea.l    A1, [A7]+
  3634. 00002154  205F                     movea.l    A0, [A7]+
  3635. 00002156  A068                     syscall    HClrRBit
  3636. 00002158  4ED1                     jmp        [A1]
  3637. 0000215A  A036                     syscall    MoreMasters
  3638. 0000215C  4E75                     rts
  3639. 0000215E  3F78 0220 0004           move.w     [A7 + 0x4], [0x00000220 /* MemErr */]
  3640. 00002164  4E75                     rts
  3641. 00002166  4E56 FFCE                link       A6, -0x0032
  3642. 0000216A  48E7 3030                movem.l    -[A7], D2,D3,A2,A3
  3643. 0000216E  426E 000A                clr.w      [A6 + 0xA]
  3644. 00002172  7401                     moveq.l    D2, 0x01
  3645. 00002174  41EE FFCE                lea.l      A0, [A6 - 0x32]
  3646. 00002178  43FA 00BE                lea.l      A1, [PC + 0xBE /* 00002238, value 0x42E4149, pstring ".AIn" */]
  3647. 0000217C  4A2E 0008                tst.b      [A6 + 0x8]
  3648. 00002180  6704                     beq        +0x6 /* 00002186 */
  3649. 00002182  43FA 00BF                lea.l      A1, [PC + 0xBF /* 00002243, value 0x42E4249, pstring ".BIn" */]
  3650. label00002186:
  3651. 00002186  2149 0012                move.l     [A0 + 0x12], A1
  3652. 0000218A  4268 0016                clr.w      [A0 + 0x16]
  3653. 0000218E  4228 001B                clr.b      [A0 + 0x1B]
  3654. 00002192  A000                     syscall    Open/PBHOpen/HOpen
  3655. 00002194  6616                     bne        +0x18 /* 000021AC */
  3656. 00002196  4241                     clr.w      D1
  3657. 00002198  1219                     move.b     D1, [A1]+
  3658. 0000219A  D2C1                     add.w      A1, D1
  3659. 0000219C  51CA FFE8                dbf        D2, -0x1A /* 00002186 */
  3660. label000021A0:
  3661. 000021A0  4CDF 0C0C                movem.l    D2,D3,A2,A3, [A7]+
  3662. 000021A4  4E5E                     unlink     A6
  3663. 000021A6  205F                     movea.l    A0, [A7]+
  3664. 000021A8  544F                     addq.w     A7, 2
  3665. 000021AA  4ED0                     jmp        [A0]
  3666. label000021AC:
  3667. 000021AC  3D40 000A                move.w     [A6 + 0xA], D0
  3668. 000021B0  60EE                     bra        -0x10 /* 000021A0 */
  3669. 000021B2  4E56 FFCE                link       A6, -0x0032
  3670. 000021B6  48E7 3030                movem.l    -[A7], D2,D3,A2,A3
  3671. 000021BA  122E 0008                move.b     D1, [A6 + 0x8]
  3672. 000021BE  6100 005E                bsr        +0x60 /* 0000221E */
  3673. 000021C2  60DC                     bra        -0x22 /* 000021A0 */
  3674. 000021C4  41EE FFCE                lea.l      A0, [A6 - 0x32]
  3675. 000021C8  3142 0018                move.w     [A0 + 0x18], D2
  3676. 000021CC  317C 0001 001A           move.w     [A0 + 0x1A], 0x1
  3677. 000021D2  A005                     syscall    Status
  3678. 000021D4  6608                     bne        +0xA /* 000021DE */
  3679. 000021D6  2068 001C                movea.l    A0, [A0 + 0x1C]
  3680. 000021DA  2050                     movea.l    A0, [A0]
  3681. 000021DC  6002                     bra        +0x4 /* 000021E0 */
  3682. label000021DE:
  3683. 000021DE  70EA                     moveq.l    D0, 0xFFFFFFEA
  3684. label000021E0:
  3685. 000021E0  4E75                     rts
  3686. 000021E2  7000                     moveq.l    D0, 0x00
  3687. 000021E4  2F02                     move.l     -[A7], D2
  3688. 000021E6  1438 01FB                move.b     D2, [0x000001FB /* SPConfig */]
  3689. 000021EA  4A01                     tst.b      D1
  3690. 000021EC  6602                     bne        +0x4 /* 000021F0 */
  3691. 000021EE  E80A                     lsr        D2.b, 4
  3692. label000021F0:
  3693. 000021F0  0202 000F                andi.b     D2, 0xF
  3694. 000021F4  6708                     beq        +0xA /* 000021FE */
  3695. 000021F6  5502                     subq.b     D2, 2
  3696. 000021F8  6704                     beq        +0x6 /* 000021FE */
  3697. 000021FA  709E                     moveq.l    D0, 0xFFFFFF9E
  3698. 000021FC  601A                     bra        +0x1C /* 00002218 */
  3699. label000021FE:
  3700. 000021FE  1438 0291                move.b     D2, [0x00000291 /* PortBUse */]
  3701. 00002202  4A01                     tst.b      D1
  3702. 00002204  6604                     bne        +0x6 /* 0000220A */
  3703. 00002206  1438 0290                move.b     D2, [0x00000290 /* PortAUse */]
  3704. label0000220A:
  3705. 0000220A  0882 0007                bclr.b     D2, 0x7
  3706. 0000220E  6608                     bne        +0xA /* 00002218 */
  3707. 00002210  0A02 0002                xori.b     D2, 0x2
  3708. 00002214  6702                     beq        +0x4 /* 00002218 */
  3709. 00002216  709F                     moveq.l    D0, 0xFFFFFF9F
  3710. label00002218:
  3711. 00002218  241F                     move.l     D2, [A7]+
  3712. 0000221A  4A40                     tst.w      D0
  3713. 0000221C  4E75                     rts
  3714. fn0000221E:
  3715. 0000221E  70FA                     moveq.l    D0, 0xFFFFFFFA
  3716. 00002220  4A01                     tst.b      D1
  3717. 00002222  6702                     beq        +0x4 /* 00002226 */
  3718. 00002224  70F8                     moveq.l    D0, 0xFFFFFFF8
  3719. label00002226:
  3720. 00002226  41EE FFCE                lea.l      A0, [A6 - 0x32]
  3721. 0000222A  3140 0018                move.w     [A0 + 0x18], D0
  3722. 0000222E  A001                     syscall    Close
  3723. 00002230  5368 0018                subq.w     [A0 + 0x18], 1
  3724. 00002234  A001                     syscall    Close
  3725. 00002236  4E75                     rts
  3726. 00002238  042E 4149 6E05           subi.b     [A6 + 0x6E05], 0x49 /* 'I' */
  3727. 0000223E  2E41                     movea.l    A7, D1
  3728. 00002240  4F75 7404                chk.w      D7, [A5 + D7.w * 4 + 0x4]
  3729. 00002244  2E42                     movea.l    A7, D2
  3730. 00002246  496E 052E                chk.w      D4, [A6 + 0x52E]
  3731. 0000224A  424F                     clr.w      A7
  3732. 0000224C  7574                     moveq.l    D2, 0x74
  3733. 0000224E  2F7C 0000 01F8 0004      move.l     [A7 + 0x4], 0x1F8
  3734. 00002256  4E75                     rts
  3735. 00002258  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  3736. 0000225C  41E8 000A                lea.l      A0, [A0 + 0xA]
  3737. 00002260  4ED0                     jmp        [A0]
  3738. 00002262  2F7C 0000 0360 0004      move.l     [A7 + 0x4], 0x360
  3739. 0000226A  4E75                     rts
  3740. 0000226C  2F7C 0000 0308 0004      move.l     [A7 + 0x4], 0x308
  3741. 00002274  4E75                     rts
  3742. 00002276  2F7C 0000 0356 0004      move.l     [A7 + 0x4], 0x356
  3743. 0000227E  4E75                     rts
  3744. 00002280  2F7C 0000 0160 0004      move.l     [A7 + 0x4], 0x160
  3745. 00002288  4E75                     rts
  3746. 0000228A  2F7C 0000 014A 0004      move.l     [A7 + 0x4], 0x14A
  3747. 00002292  4E75                     rts
  3748. 00002294  2F78 02AA 0004           move.l     [A7 + 0x4], [0x000002AA /* ApplZone */]
  3749. 0000229A  4E75                     rts
  3750. 0000229C  2F78 02A6 0004           move.l     [A7 + 0x4], [0x000002A6 /* SysZone */]
  3751. 000022A2  4E75                     rts
  3752. 000022A4  2F78 0108 0004           move.l     [A7 + 0x4], [0x00000108 /* MemTop */]
  3753. 000022AA  4E75                     rts
  3754. 000022AC  2F78 0130 0004           move.l     [A7 + 0x4], [0x00000130 /* ApplLimit */]
  3755. 000022B2  4E75                     rts
  3756. 000022B4  225F                     movea.l    A1, [A7]+
  3757. 000022B6  205F                     movea.l    A0, [A7]+
  3758. 000022B8  A058                     syscall    InsTime
  3759. 000022BA  4ED1                     jmp        [A1]
  3760. 000022BC  225F                     movea.l    A1, [A7]+
  3761. 000022BE  205F                     movea.l    A0, [A7]+
  3762. 000022C0  A059                     syscall    RmvTime
  3763. 000022C2  4ED1                     jmp        [A1]
  3764. 000022C4  225F                     movea.l    A1, [A7]+
  3765. 000022C6  201F                     move.l     D0, [A7]+
  3766. 000022C8  205F                     movea.l    A0, [A7]+
  3767. 000022CA  A05A                     syscall    PrimeTime
  3768. 000022CC  4ED1                     jmp        [A1]
  3769. 000022CE  225F                     movea.l    A1, [A7]+
  3770. 000022D0  205F                     movea.l    A0, [A7]+
  3771. 000022D2  A033                     syscall    VInstall
  3772. 000022D4  3E80                     move.w     [A7], D0
  3773. 000022D6  4ED1                     jmp        [A1]
  3774. 000022D8  225F                     movea.l    A1, [A7]+
  3775. 000022DA  205F                     movea.l    A0, [A7]+
  3776. 000022DC  A034                     syscall    VRemove
  3777. 000022DE  3E80                     move.w     [A7], D0
  3778. 000022E0  4ED1                     jmp        [A1]
  3779. 000022E2  7401                     moveq.l    D2, 0x01
  3780. 000022E4  205F                     movea.l    A0, [A7]+
  3781. 000022E6  3F02                     move.w     -[A7], D2
  3782. 000022E8  2F08                     move.l     -[A7], A0
  3783. 000022EA  ADEA                     syscall    Pack3, auto_pop
  3784. 000022EC  7403                     moveq.l    D2, 0x03
  3785. 000022EE  4EED 0000                jmp        [A5 + 0x0]
  3786. 000022F2  7402                     moveq.l    D2, 0x02
  3787. 000022F4  4EED 0000                jmp        [A5 + 0x0]
  3788. 000022F8  7404                     moveq.l    D2, 0x04
  3789. 000022FA  4EED 0000                jmp        [A5 + 0x0]
  3790. 000022FE  7402                     moveq.l    D2, 0x02
  3791. 00002300  205F                     movea.l    A0, [A7]+
  3792. 00002302  3F02                     move.w     -[A7], D2
  3793. 00002304  2F08                     move.l     -[A7], A0
  3794. 00002306  ADE9                     syscall    Pack2, auto_pop
  3795. 00002308  7404                     moveq.l    D2, 0x04
  3796. 0000230A  4EED 0000                jmp        [A5 + 0x0]
  3797. 0000230E  7400                     moveq.l    D2, 0x00
  3798. 00002310  4EED 0000                jmp        [A5 + 0x0]
  3799. 00002314  7406                     moveq.l    D2, 0x06
  3800. 00002316  4EED 0000                jmp        [A5 + 0x0]
  3801. 0000231A  343C 0008                move.w     D2, 0x8
  3802. 0000231E  4EED 0000                jmp        [A5 + 0x0]
  3803. 00002322  343C 000A                move.w     D2, 0xA /* '\n' */
  3804. 00002326  4EED 0000                jmp        [A5 + 0x0]
  3805. 0000232A  7406                     moveq.l    D2, 0x06
  3806. 0000232C  205F                     movea.l    A0, [A7]+
  3807. 0000232E  3F02                     move.w     -[A7], D2
  3808. 00002330  2F08                     move.l     -[A7], A0
  3809. 00002332  ADED                     syscall    Pack6, auto_pop
  3810. 00002334  7408                     moveq.l    D2, 0x08
  3811. 00002336  4EED 0000                jmp        [A5 + 0x0]
  3812. 0000233A  7400                     moveq.l    D2, 0x00
  3813. 0000233C  4EED 0000                jmp        [A5 + 0x0]
  3814. 00002340  740E                     moveq.l    D2, 0x0E
  3815. 00002342  4EED 0000                jmp        [A5 + 0x0]
  3816. 00002346  7402                     moveq.l    D2, 0x02
  3817. 00002348  4EED 0000                jmp        [A5 + 0x0]
  3818. 0000234C  7410                     moveq.l    D2, 0x10
  3819. 0000234E  4EED 0000                jmp        [A5 + 0x0]
  3820. 00002352  7404                     moveq.l    D2, 0x04
  3821. 00002354  4EED 0000                jmp        [A5 + 0x0]
  3822. 00002358  343C 000A                move.w     D2, 0xA /* '\n' */
  3823. 0000235C  4EED 0000                jmp        [A5 + 0x0]
  3824. 00002360  343C 000C                move.w     D2, 0xC
  3825. 00002364  205F                     movea.l    A0, [A7]+
  3826. 00002366  3F02                     move.w     -[A7], D2
  3827. 00002368  2F08                     move.l     -[A7], A0
  3828. 0000236A  ADED                     syscall    Pack6, auto_pop
  3829. 0000236C  343C 000A                move.w     D2, 0xA /* '\n' */
  3830. 00002370  4EED 0000                jmp        [A5 + 0x0]
  3831. 00002374  343C 000C                move.w     D2, 0xC
  3832. 00002378  226F 0004                movea.l    A1, [A7 + 0x4]
  3833. 0000237C  206F 0008                movea.l    A0, [A7 + 0x8]
  3834. 00002380  4240                     clr.w      D0
  3835. 00002382  4241                     clr.w      D1
  3836. 00002384  1018                     move.b     D0, [A0]+
  3837. 00002386  1219                     move.b     D1, [A1]+
  3838. 00002388  2F48 0008                move.l     [A7 + 0x8], A0
  3839. 0000238C  2F49 0004                move.l     [A7 + 0x4], A1
  3840. 00002390  205F                     movea.l    A0, [A7]+
  3841. 00002392  3F00                     move.w     -[A7], D0
  3842. 00002394  3F01                     move.w     -[A7], D1
  3843. 00002396  3F02                     move.w     -[A7], D2
  3844. 00002398  2F08                     move.l     -[A7], A0
  3845. 0000239A  ADED                     syscall    Pack6, auto_pop
  3846. 0000239C  343C 001A                move.w     D2, 0x1A
  3847. 000023A0  4EED 0000                jmp        [A5 + 0x0]
  3848. 000023A4  343C 001C                move.w     D2, 0x1C
  3849. 000023A8  226F 0008                movea.l    A1, [A7 + 0x8]
  3850. 000023AC  206F 000C                movea.l    A0, [A7 + 0xC]
  3851. 000023B0  7000                     moveq.l    D0, 0x00
  3852. 000023B2  1019                     move.b     D0, [A1]+
  3853. 000023B4  4840                     swap.w     D0
  3854. 000023B6  1018                     move.b     D0, [A0]+
  3855. 000023B8  2F48 000C                move.l     [A7 + 0xC], A0
  3856. 000023BC  2F49 0008                move.l     [A7 + 0x8], A1
  3857. 000023C0  205F                     movea.l    A0, [A7]+
  3858. 000023C2  225F                     movea.l    A1, [A7]+
  3859. 000023C4  2F00                     move.l     -[A7], D0
  3860. 000023C6  2F09                     move.l     -[A7], A1
  3861. 000023C8  3F02                     move.w     -[A7], D2
  3862. 000023CA  2F08                     move.l     -[A7], A0
  3863. 000023CC  ADED                     syscall    Pack6, auto_pop
  3864. 000023CE  226F 000C                movea.l    A1, [A7 + 0xC]
  3865. 000023D2  206F 0010                movea.l    A0, [A7 + 0x10]
  3866. 000023D6  7000                     moveq.l    D0, 0x00
  3867. 000023D8  1019                     move.b     D0, [A1]+
  3868. 000023DA  4840                     swap.w     D0
  3869. 000023DC  1018                     move.b     D0, [A0]+
  3870. 000023DE  2F48 0010                move.l     [A7 + 0x10], A0
  3871. 000023E2  2F49 000C                move.l     [A7 + 0xC], A1
  3872. 000023E6  205F                     movea.l    A0, [A7]+
  3873. 000023E8  221F                     move.l     D1, [A7]+
  3874. 000023EA  241F                     move.l     D2, [A7]+
  3875. 000023EC  2F00                     move.l     -[A7], D0
  3876. 000023EE  2F02                     move.l     -[A7], D2
  3877. 000023F0  2F01                     move.l     -[A7], D1
  3878. 000023F2  3F3C 0022                move.w     -[A7], 0x22 /* '\"' */
  3879. 000023F6  2F08                     move.l     -[A7], A0
  3880. 000023F8  ADED                     syscall    Pack6, auto_pop
  3881. 000023FA  206F 0008                movea.l    A0, [A7 + 0x8]
  3882. 000023FE  3F3C 0001                move.w     -[A7], 0x1
  3883. 00002402  A9EE                     syscall    Pack7/DecStr68K
  3884. 00002404  206F 0004                movea.l    A0, [A7 + 0x4]
  3885. 00002408  2080                     move.l     [A0], D0
  3886. 0000240A  4EED 0000                jmp        [A5 + 0x0]
  3887. 0000240E  206F 0004                movea.l    A0, [A7 + 0x4]
  3888. 00002412  202F 0008                move.l     D0, [A7 + 0x8]
  3889. 00002416  4267                     clr.w      -[A7]
  3890. 00002418  A9EE                     syscall    Pack7/DecStr68K
  3891. 0000241A  205F                     movea.l    A0, [A7]+
  3892. 0000241C  504F                     addq.w     A7, 8
  3893. 0000241E  4ED0                     jmp        [A0]
  3894. 00002420  225F                     movea.l    A1, [A7]+
  3895. 00002422  201F                     move.l     D0, [A7]+
  3896. 00002424  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  3897. 0000242A  6606                     bne        +0x8 /* 00002432 */
  3898. 0000242C  A055                     syscall    StripAddress
  3899. 0000242E  2E80                     move.l     [A7], D0
  3900. 00002430  4ED1                     jmp        [A1]
  3901. label00002432:
  3902. 00002432  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  3903. 00002436  2E80                     move.l     [A7], D0
  3904. 00002438  4ED1                     jmp        [A1]
  3905. 0000243A  225F                     movea.l    A1, [A7]+
  3906. 0000243C  301F                     move.w     D0, [A7]+
  3907. 0000243E  204F                     movea.l    A0, A7
  3908. 00002440  A07C                     syscall    ADBOp
  3909. 00002442  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3910. 00002446  3E80                     move.w     [A7], D0
  3911. 00002448  4ED1                     jmp        [A1]
  3912. 0000244A  225F                     movea.l    A1, [A7]+
  3913. 0000244C  301F                     move.w     D0, [A7]+
  3914. 0000244E  205F                     movea.l    A0, [A7]+
  3915. 00002450  A078                     syscall    GetIndADB
  3916. 00002452  1E80                     move.b     [A7], D0
  3917. 00002454  4ED1                     jmp        [A1]
  3918. 00002456  225F                     movea.l    A1, [A7]+
  3919. 00002458  101F                     move.b     D0, [A7]+
  3920. 0000245A  205F                     movea.l    A0, [A7]+
  3921. 0000245C  A079                     syscall    GetADBInfo
  3922. 0000245E  3E80                     move.w     [A7], D0
  3923. 00002460  4ED1                     jmp        [A1]
  3924. 00002462  225F                     movea.l    A1, [A7]+
  3925. 00002464  101F                     move.b     D0, [A7]+
  3926. 00002466  205F                     movea.l    A0, [A7]+
  3927. 00002468  A07A                     syscall    SetADBInfo
  3928. 0000246A  3E80                     move.w     [A7], D0
  3929. 0000246C  4ED1                     jmp        [A1]
  3930. 0000246E  91C8                     sub.l      A0, A0
  3931. 00002470  A07F                     syscall    InternalWait
  3932. 00002472  225F                     movea.l    A1, [A7]+
  3933. 00002474  205F                     movea.l    A0, [A7]+
  3934. 00002476  3080                     move.w     [A0], D0
  3935. 00002478  4ED1                     jmp        [A1]
  3936. 0000247A  225F                     movea.l    A1, [A7]+
  3937. 0000247C  301F                     move.w     D0, [A7]+
  3938. 0000247E  307C 0001                movea.w    A0, 0x1
  3939. 00002482  A07F                     syscall    InternalWait
  3940. 00002484  4ED1                     jmp        [A1]
  3941. 00002486  225F                     movea.l    A1, [A7]+
  3942. 00002488  101F                     move.b     D0, [A7]+
  3943. 0000248A  205F                     movea.l    A0, [A7]+
  3944. 0000248C  6604                     bne        +0x6 /* 00002492 */
  3945. 0000248E  A200                     syscall    OpenSlot, flags=2
  3946. 00002490  6002                     bra        +0x4 /* 00002494 */
  3947. label00002492:
  3948. 00002492  A600                     syscall    Open/PBHOpen/HOpen, flags=6
  3949. label00002494:
  3950. 00002494  3E80                     move.w     [A7], D0
  3951. 00002496  4ED1                     jmp        [A1]
  3952. 00002498  225F                     movea.l    A1, [A7]+
  3953. 0000249A  205F                     movea.l    A0, [A7]+
  3954. 0000249C  A07D                     syscall    GetDefaultStartup
  3955. 0000249E  4ED1                     jmp        [A1]
  3956. 000024A0  225F                     movea.l    A1, [A7]+
  3957. 000024A2  205F                     movea.l    A0, [A7]+
  3958. 000024A4  A07E                     syscall    SetDefaultStartup
  3959. 000024A6  4ED1                     jmp        [A1]
  3960. 000024A8  225F                     movea.l    A1, [A7]+
  3961. 000024AA  205F                     movea.l    A0, [A7]+
  3962. 000024AC  A080                     syscall    GetVideoDefault
  3963. 000024AE  4ED1                     jmp        [A1]
  3964. 000024B0  225F                     movea.l    A1, [A7]+
  3965. 000024B2  205F                     movea.l    A0, [A7]+
  3966. 000024B4  A081                     syscall    SetVideoDefault
  3967. 000024B6  4ED1                     jmp        [A1]
  3968. 000024B8  225F                     movea.l    A1, [A7]+
  3969. 000024BA  205F                     movea.l    A0, [A7]+
  3970. 000024BC  A083                     syscall    SetOSDefault
  3971. 000024BE  4ED1                     jmp        [A1]
  3972. 000024C0  225F                     movea.l    A1, [A7]+
  3973. 000024C2  205F                     movea.l    A0, [A7]+
  3974. 000024C4  A084                     syscall    GetOSDefault
  3975. 000024C6  4ED1                     jmp        [A1]
  3976. 000024C8  225F                     movea.l    A1, [A7]+
  3977. 000024CA  A077                     syscall    CountADBs
  3978. 000024CC  3E80                     move.w     [A7], D0
  3979. 000024CE  4ED1                     jmp        [A1]
  3980. 000024D0  225F                     movea.l    A1, [A7]+
  3981. 000024D2  205F                     movea.l    A0, [A7]+
  3982. 000024D4  7000                     moveq.l    D0, 0x00
  3983. 000024D6  A06E                     syscall    SlotManager
  3984. 000024D8  3E80                     move.w     [A7], D0
  3985. 000024DA  4ED1                     jmp        [A1]
  3986. 000024DC  225F                     movea.l    A1, [A7]+
  3987. 000024DE  205F                     movea.l    A0, [A7]+
  3988. 000024E0  7001                     moveq.l    D0, 0x01
  3989. 000024E2  A06E                     syscall    SlotManager
  3990. 000024E4  3E80                     move.w     [A7], D0
  3991. 000024E6  4ED1                     jmp        [A1]
  3992. 000024E8  225F                     movea.l    A1, [A7]+
  3993. 000024EA  205F                     movea.l    A0, [A7]+
  3994. 000024EC  7002                     moveq.l    D0, 0x02
  3995. 000024EE  A06E                     syscall    SlotManager
  3996. 000024F0  3E80                     move.w     [A7], D0
  3997. 000024F2  4ED1                     jmp        [A1]
  3998. 000024F4  225F                     movea.l    A1, [A7]+
  3999. 000024F6  205F                     movea.l    A0, [A7]+
  4000. 000024F8  7003                     moveq.l    D0, 0x03
  4001. 000024FA  A06E                     syscall    SlotManager
  4002. 000024FC  3E80                     move.w     [A7], D0
  4003. 000024FE  4ED1                     jmp        [A1]
  4004. 00002500  225F                     movea.l    A1, [A7]+
  4005. 00002502  205F                     movea.l    A0, [A7]+
  4006. 00002504  7005                     moveq.l    D0, 0x05
  4007. 00002506  A06E                     syscall    SlotManager
  4008. 00002508  3E80                     move.w     [A7], D0
  4009. 0000250A  4ED1                     jmp        [A1]
  4010. 0000250C  225F                     movea.l    A1, [A7]+
  4011. 0000250E  205F                     movea.l    A0, [A7]+
  4012. 00002510  7006                     moveq.l    D0, 0x06
  4013. 00002512  A06E                     syscall    SlotManager
  4014. 00002514  3E80                     move.w     [A7], D0
  4015. 00002516  4ED1                     jmp        [A1]
  4016. 00002518  225F                     movea.l    A1, [A7]+
  4017. 0000251A  205F                     movea.l    A0, [A7]+
  4018. 0000251C  7007                     moveq.l    D0, 0x07
  4019. 0000251E  A06E                     syscall    SlotManager
  4020. 00002520  3E80                     move.w     [A7], D0
  4021. 00002522  4ED1                     jmp        [A1]
  4022. 00002524  225F                     movea.l    A1, [A7]+
  4023. 00002526  205F                     movea.l    A0, [A7]+
  4024. 00002528  7010                     moveq.l    D0, 0x10
  4025. 0000252A  A06E                     syscall    SlotManager
  4026. 0000252C  3E80                     move.w     [A7], D0
  4027. 0000252E  4ED1                     jmp        [A1]
  4028. 00002530  225F                     movea.l    A1, [A7]+
  4029. 00002532  205F                     movea.l    A0, [A7]+
  4030. 00002534  7011                     moveq.l    D0, 0x11
  4031. 00002536  A06E                     syscall    SlotManager
  4032. 00002538  3E80                     move.w     [A7], D0
  4033. 0000253A  4ED1                     jmp        [A1]
  4034. 0000253C  225F                     movea.l    A1, [A7]+
  4035. 0000253E  205F                     movea.l    A0, [A7]+
  4036. 00002540  7012                     moveq.l    D0, 0x12
  4037. 00002542  A06E                     syscall    SlotManager
  4038. 00002544  3E80                     move.w     [A7], D0
  4039. 00002546  4ED1                     jmp        [A1]
  4040. 00002548  225F                     movea.l    A1, [A7]+
  4041. 0000254A  205F                     movea.l    A0, [A7]+
  4042. 0000254C  7013                     moveq.l    D0, 0x13
  4043. 0000254E  A06E                     syscall    SlotManager
  4044. 00002550  3E80                     move.w     [A7], D0
  4045. 00002552  4ED1                     jmp        [A1]
  4046. 00002554  225F                     movea.l    A1, [A7]+
  4047. 00002556  205F                     movea.l    A0, [A7]+
  4048. 00002558  7014                     moveq.l    D0, 0x14
  4049. 0000255A  A06E                     syscall    SlotManager
  4050. 0000255C  3E80                     move.w     [A7], D0
  4051. 0000255E  4ED1                     jmp        [A1]
  4052. 00002560  225F                     movea.l    A1, [A7]+
  4053. 00002562  205F                     movea.l    A0, [A7]+
  4054. 00002564  7015                     moveq.l    D0, 0x15
  4055. 00002566  A06E                     syscall    SlotManager
  4056. 00002568  3E80                     move.w     [A7], D0
  4057. 0000256A  4ED1                     jmp        [A1]
  4058. 0000256C  225F                     movea.l    A1, [A7]+
  4059. 0000256E  205F                     movea.l    A0, [A7]+
  4060. 00002570  7016                     moveq.l    D0, 0x16
  4061. 00002572  A06E                     syscall    SlotManager
  4062. 00002574  3E80                     move.w     [A7], D0
  4063. 00002576  4ED1                     jmp        [A1]
  4064. 00002578  225F                     movea.l    A1, [A7]+
  4065. 0000257A  205F                     movea.l    A0, [A7]+
  4066. 0000257C  7018                     moveq.l    D0, 0x18
  4067. 0000257E  A06E                     syscall    SlotManager
  4068. 00002580  3E80                     move.w     [A7], D0
  4069. 00002582  4ED1                     jmp        [A1]
  4070. 00002584  225F                     movea.l    A1, [A7]+
  4071. 00002586  205F                     movea.l    A0, [A7]+
  4072. 00002588  7019                     moveq.l    D0, 0x19
  4073. 0000258A  A06E                     syscall    SlotManager
  4074. 0000258C  3E80                     move.w     [A7], D0
  4075. 0000258E  4ED1                     jmp        [A1]
  4076. 00002590  225F                     movea.l    A1, [A7]+
  4077. 00002592  205F                     movea.l    A0, [A7]+
  4078. 00002594  701B                     moveq.l    D0, 0x1B
  4079. 00002596  A06E                     syscall    SlotManager
  4080. 00002598  3E80                     move.w     [A7], D0
  4081. 0000259A  4ED1                     jmp        [A1]
  4082. 0000259C  225F                     movea.l    A1, [A7]+
  4083. 0000259E  205F                     movea.l    A0, [A7]+
  4084. 000025A0  701C                     moveq.l    D0, 0x1C
  4085. 000025A2  A06E                     syscall    SlotManager
  4086. 000025A4  3E80                     move.w     [A7], D0
  4087. 000025A6  4ED1                     jmp        [A1]
  4088. 000025A8  225F                     movea.l    A1, [A7]+
  4089. 000025AA  205F                     movea.l    A0, [A7]+
  4090. 000025AC  7020                     moveq.l    D0, 0x20
  4091. 000025AE  A06E                     syscall    SlotManager
  4092. 000025B0  3E80                     move.w     [A7], D0
  4093. 000025B2  4ED1                     jmp        [A1]
  4094. 000025B4  225F                     movea.l    A1, [A7]+
  4095. 000025B6  205F                     movea.l    A0, [A7]+
  4096. 000025B8  7021                     moveq.l    D0, 0x21
  4097. 000025BA  A06E                     syscall    SlotManager
  4098. 000025BC  3E80                     move.w     [A7], D0
  4099. 000025BE  4ED1                     jmp        [A1]
  4100. 000025C0  225F                     movea.l    A1, [A7]+
  4101. 000025C2  205F                     movea.l    A0, [A7]+
  4102. 000025C4  7022                     moveq.l    D0, 0x22
  4103. 000025C6  A06E                     syscall    SlotManager
  4104. 000025C8  3E80                     move.w     [A7], D0
  4105. 000025CA  4ED1                     jmp        [A1]
  4106. 000025CC  225F                     movea.l    A1, [A7]+
  4107. 000025CE  205F                     movea.l    A0, [A7]+
  4108. 000025D0  7023                     moveq.l    D0, 0x23
  4109. 000025D2  A06E                     syscall    SlotManager
  4110. 000025D4  3E80                     move.w     [A7], D0
  4111. 000025D6  4ED1                     jmp        [A1]
  4112. 000025D8  225F                     movea.l    A1, [A7]+
  4113. 000025DA  205F                     movea.l    A0, [A7]+
  4114. 000025DC  7024                     moveq.l    D0, 0x24
  4115. 000025DE  A06E                     syscall    SlotManager
  4116. 000025E0  3E80                     move.w     [A7], D0
  4117. 000025E2  4ED1                     jmp        [A1]
  4118. 000025E4  225F                     movea.l    A1, [A7]+
  4119. 000025E6  205F                     movea.l    A0, [A7]+
  4120. 000025E8  7025                     moveq.l    D0, 0x25
  4121. 000025EA  A06E                     syscall    SlotManager
  4122. 000025EC  3E80                     move.w     [A7], D0
  4123. 000025EE  4ED1                     jmp        [A1]
  4124. 000025F0  225F                     movea.l    A1, [A7]+
  4125. 000025F2  205F                     movea.l    A0, [A7]+
  4126. 000025F4  7026                     moveq.l    D0, 0x26
  4127. 000025F6  A06E                     syscall    SlotManager
  4128. 000025F8  3E80                     move.w     [A7], D0
  4129. 000025FA  4ED1                     jmp        [A1]
  4130. 000025FC  225F                     movea.l    A1, [A7]+
  4131. 000025FE  205F                     movea.l    A0, [A7]+
  4132. 00002600  7028                     moveq.l    D0, 0x28
  4133. 00002602  A06E                     syscall    SlotManager
  4134. 00002604  3E80                     move.w     [A7], D0
  4135. 00002606  4ED1                     jmp        [A1]
  4136. 00002608  225F                     movea.l    A1, [A7]+
  4137. 0000260A  205F                     movea.l    A0, [A7]+
  4138. 0000260C  7029                     moveq.l    D0, 0x29
  4139. 0000260E  A06E                     syscall    SlotManager
  4140. 00002610  3E80                     move.w     [A7], D0
  4141. 00002612  4ED1                     jmp        [A1]
  4142. 00002614  225F                     movea.l    A1, [A7]+
  4143. 00002616  205F                     movea.l    A0, [A7]+
  4144. 00002618  702A                     moveq.l    D0, 0x2A
  4145. 0000261A  A06E                     syscall    SlotManager
  4146. 0000261C  3E80                     move.w     [A7], D0
  4147. 0000261E  4ED1                     jmp        [A1]
  4148. 00002620  225F                     movea.l    A1, [A7]+
  4149. 00002622  205F                     movea.l    A0, [A7]+
  4150. 00002624  702B                     moveq.l    D0, 0x2B
  4151. 00002626  A06E                     syscall    SlotManager
  4152. 00002628  3E80                     move.w     [A7], D0
  4153. 0000262A  4ED1                     jmp        [A1]
  4154. 0000262C  225F                     movea.l    A1, [A7]+
  4155. 0000262E  205F                     movea.l    A0, [A7]+
  4156. 00002630  702C                     moveq.l    D0, 0x2C
  4157. 00002632  A06E                     syscall    SlotManager
  4158. 00002634  3E80                     move.w     [A7], D0
  4159. 00002636  4ED1                     jmp        [A1]
  4160. 00002638  225F                     movea.l    A1, [A7]+
  4161. 0000263A  205F                     movea.l    A0, [A7]+
  4162. 0000263C  702D                     moveq.l    D0, 0x2D
  4163. 0000263E  A06E                     syscall    SlotManager
  4164. 00002640  3E80                     move.w     [A7], D0
  4165. 00002642  4ED1                     jmp        [A1]
  4166. 00002644  225F                     movea.l    A1, [A7]+
  4167. 00002646  205F                     movea.l    A0, [A7]+
  4168. 00002648  702E                     moveq.l    D0, 0x2E
  4169. 0000264A  A06E                     syscall    SlotManager
  4170. 0000264C  3E80                     move.w     [A7], D0
  4171. 0000264E  4ED1                     jmp        [A1]
  4172. 00002650  225F                     movea.l    A1, [A7]+
  4173. 00002652  205F                     movea.l    A0, [A7]+
  4174. 00002654  702F                     moveq.l    D0, 0x2F
  4175. 00002656  A06E                     syscall    SlotManager
  4176. 00002658  3E80                     move.w     [A7], D0
  4177. 0000265A  4ED1                     jmp        [A1]
  4178. 0000265C  225F                     movea.l    A1, [A7]+
  4179. 0000265E  205F                     movea.l    A0, [A7]+
  4180. 00002660  7030                     moveq.l    D0, 0x30
  4181. 00002662  A06E                     syscall    SlotManager
  4182. 00002664  3E80                     move.w     [A7], D0
  4183. 00002666  4ED1                     jmp        [A1]
  4184. 00002668  225F                     movea.l    A1, [A7]+
  4185. 0000266A  205F                     movea.l    A0, [A7]+
  4186. 0000266C  7031                     moveq.l    D0, 0x31
  4187. 0000266E  A06E                     syscall    SlotManager
  4188. 00002670  3E80                     move.w     [A7], D0
  4189. 00002672  4ED1                     jmp        [A1]
  4190. 00002674  225F                     movea.l    A1, [A7]+
  4191. 00002676  301F                     move.w     D0, [A7]+
  4192. 00002678  205F                     movea.l    A0, [A7]+
  4193. 0000267A  A075                     syscall    SIntInstall
  4194. 0000267C  3E80                     move.w     [A7], D0
  4195. 0000267E  4ED1                     jmp        [A1]
  4196. 00002680  225F                     movea.l    A1, [A7]+
  4197. 00002682  301F                     move.w     D0, [A7]+
  4198. 00002684  205F                     movea.l    A0, [A7]+
  4199. 00002686  A076                     syscall    SIntRemove
  4200. 00002688  3E80                     move.w     [A7], D0
  4201. 0000268A  4ED1                     jmp        [A1]
  4202. 0000268C  225F                     movea.l    A1, [A7]+
  4203. 0000268E  301F                     move.w     D0, [A7]+
  4204. 00002690  205F                     movea.l    A0, [A7]+
  4205. 00002692  A06F                     syscall    SlotVInstall
  4206. 00002694  3E80                     move.w     [A7], D0
  4207. 00002696  4ED1                     jmp        [A1]
  4208. 00002698  225F                     movea.l    A1, [A7]+
  4209. 0000269A  301F                     move.w     D0, [A7]+
  4210. 0000269C  205F                     movea.l    A0, [A7]+
  4211. 0000269E  A070                     syscall    SlotVRemove
  4212. 000026A0  3E80                     move.w     [A7], D0
  4213. 000026A2  4ED1                     jmp        [A1]
  4214. 000026A4  225F                     movea.l    A1, [A7]+
  4215. 000026A6  301F                     move.w     D0, [A7]+
  4216. 000026A8  A071                     syscall    AttachVBL
  4217. 000026AA  3E80                     move.w     [A7], D0
  4218. 000026AC  4ED1                     jmp        [A1]
  4219. 000026AE  225F                     movea.l    A1, [A7]+
  4220. 000026B0  301F                     move.w     D0, [A7]+
  4221. 000026B2  A072                     syscall    DoVBLTask
  4222. 000026B4  3E80                     move.w     [A7], D0
  4223. 000026B6  4ED1                     jmp        [A1]
  4224. 000026B8  206F 0004                movea.l    A0, [A7 + 0x4]
  4225. 000026BC  2050                     movea.l    A0, [A0]
  4226. 000026BE  A9E1                     syscall    HandToHand
  4227. 000026C0  226F 0004                movea.l    A1, [A7 + 0x4]
  4228. 000026C4  2288                     move.l     [A1], A0
  4229. 000026C6  3F40 0008                move.w     [A7 + 0x8], D0
  4230. 000026CA  2E9F                     move.l     [A7], [A7]+
  4231. 000026CC  4E75                     rts
  4232. 000026CE  221F                     move.l     D1, [A7]+
  4233. 000026D0  201F                     move.l     D0, [A7]+
  4234. 000026D2  225F                     movea.l    A1, [A7]+
  4235. 000026D4  205F                     movea.l    A0, [A7]+
  4236. 000026D6  2F01                     move.l     -[A7], D1
  4237. 000026D8  A9E2                     syscall    PtrToXHand
  4238. 000026DA  3F40 0004                move.w     [A7 + 0x4], D0
  4239. 000026DE  4E75                     rts
  4240. 000026E0  206F 000C                movea.l    A0, [A7 + 0xC]
  4241. 000026E4  202F 0004                move.l     D0, [A7 + 0x4]
  4242. 000026E8  A9E3                     syscall    PtrToHand
  4243. 000026EA  3F40 0010                move.w     [A7 + 0x10], D0
  4244. 000026EE  226F 0008                movea.l    A1, [A7 + 0x8]
  4245. 000026F2  2288                     move.l     [A1], A0
  4246. 000026F4  205F                     movea.l    A0, [A7]+
  4247. 000026F6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4248. 000026FA  4ED0                     jmp        [A0]
  4249. 000026FC  206F 0008                movea.l    A0, [A7 + 0x8]
  4250. 00002700  226F 0004                movea.l    A1, [A7 + 0x4]
  4251. 00002704  A9E4                     syscall    HandAndHand
  4252. 00002706  3F40 000C                move.w     [A7 + 0xC], D0
  4253. 0000270A  205F                     movea.l    A0, [A7]+
  4254. 0000270C  504F                     addq.w     A7, 8
  4255. 0000270E  4ED0                     jmp        [A0]
  4256. 00002710  202F 0004                move.l     D0, [A7 + 0x4]
  4257. 00002714  226F 0008                movea.l    A1, [A7 + 0x8]
  4258. 00002718  206F 000C                movea.l    A0, [A7 + 0xC]
  4259. 0000271C  A9EF                     syscall    PtrAndHand
  4260. 0000271E  3F40 0010                move.w     [A7 + 0x10], D0
  4261. 00002722  205F                     movea.l    A0, [A7]+
  4262. 00002724  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4263. 00002728  4ED0                     jmp        [A0]
  4264. 0000272A  6118                     bsr        +0x1A /* 00002744 */
  4265. 0000272C  A9DB                     syscall    TEPaste
  4266. label0000272E:
  4267. 0000272E  2E9F                     move.l     [A7], [A7]+
  4268. 00002730  4E75                     rts
  4269. 00002732  6110                     bsr        +0x12 /* 00002744 */
  4270. 00002734  A9D6                     syscall    TECut
  4271. 00002736  60F6                     bra        -0x8 /* 0000272E */
  4272. 00002738  610A                     bsr        +0xC /* 00002744 */
  4273. 0000273A  A9D5                     syscall    TECopy
  4274. 0000273C  60F0                     bra        -0xE /* 0000272E */
  4275. 0000273E  6104                     bsr        +0x6 /* 00002744 */
  4276. 00002740  A9D7                     syscall    TEDelete
  4277. 00002742  60EA                     bra        -0x14 /* 0000272E */
  4278. fn00002744:
  4279. 00002744  206F 0008                movea.l    A0, [A7 + 0x8]
  4280. 00002748  4A68 00A4                tst.w      [A0 + 0xA4]
  4281. 0000274C  6B08                     bmi        +0xA /* 00002756 */
  4282. 0000274E  225F                     movea.l    A1, [A7]+
  4283. 00002750  2F28 00A0                move.l     -[A7], [A0 + 0xA0]
  4284. 00002754  4ED1                     jmp        [A1]
  4285. label00002756:
  4286. 00002756  4CDF 0301                movem.l    D0,A0,A1, [A7]+
  4287. 0000275A  4ED0                     jmp        [A0]
  4288. 0000275C  42AF 0004                clr.l      [A7 + 0x4]
  4289. 00002760  3F78 0AB0 0006           move.w     [A7 + 0x6], [0x00000AB0 /* TEScrpLength */]
  4290. 00002766  4E75                     rts
  4291. 00002768  31EF 0006 0AB0           move.w     [0x00000AB0 /* TEScrpLength */], [A7 + 0x6]
  4292. 0000276E  2E9F                     move.l     [A7], [A7]+
  4293. 00002770  4E75                     rts
  4294. 00002772  42A7                     clr.l      -[A7]
  4295. 00002774  594F                     subq.w     A7, 4
  4296. 00002776  42A7                     clr.l      -[A7]
  4297. 00002778  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4298. 0000277E  486F 000C                pea.l      [A7 + 0xC]
  4299. 00002782  A9FD                     syscall    GetScrap
  4300. 00002784  201F                     move.l     D0, [A7]+
  4301. 00002786  584F                     addq.w     A7, 4
  4302. 00002788  6B28                     bmi        +0x2A /* 000027B2 */
  4303. 0000278A  0C80 0000 7D01           cmpi.l     D0, 0x7D01
  4304. 00002790  6506                     bcs        +0x8 /* 00002798 */
  4305. 00002792  303C FE0B                move.w     D0, 0xFE0B
  4306. 00002796  601A                     bra        +0x1C /* 000027B2 */
  4307. label00002798:
  4308. 00002798  42A7                     clr.l      -[A7]
  4309. 0000279A  594F                     subq.w     A7, 4
  4310. 0000279C  2F38 0AB4                move.l     -[A7], [0x00000AB4 /* TEScrpHandle */]
  4311. 000027A0  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4312. 000027A6  486F 000C                pea.l      [A7 + 0xC]
  4313. 000027AA  A9FD                     syscall    GetScrap
  4314. 000027AC  201F                     move.l     D0, [A7]+
  4315. 000027AE  584F                     addq.w     A7, 4
  4316. 000027B0  6A06                     bpl        +0x8 /* 000027B8 */
  4317. label000027B2:
  4318. 000027B2  4278 0AB0                clr.w      [0x00000AB0 /* TEScrpLength */]
  4319. 000027B6  600A                     bra        +0xC /* 000027C2 */
  4320. label000027B8:
  4321. 000027B8  426F 0004                clr.w      [A7 + 0x4]
  4322. 000027BC  31C0 0AB0                move.w     [0x00000AB0 /* TEScrpLength */], D0
  4323. 000027C0  7000                     moveq.l    D0, 0x00
  4324. label000027C2:
  4325. 000027C2  3F40 0004                move.w     [A7 + 0x4], D0
  4326. 000027C6  4E75                     rts
  4327. 000027C8  2078 0AB4                movea.l    A0, [0x00000AB4 /* TEScrpHandle */]
  4328. 000027CC  A029                     syscall    HLock
  4329. 000027CE  594F                     subq.w     A7, 4
  4330. 000027D0  3F38 0AB0                move.w     -[A7], [0x00000AB0 /* TEScrpLength */]
  4331. 000027D4  4267                     clr.w      -[A7]
  4332. 000027D6  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4333. 000027DC  2F10                     move.l     -[A7], [A0]
  4334. 000027DE  A9FE                     syscall    PutScrap
  4335. 000027E0  544F                     addq.w     A7, 2
  4336. 000027E2  3F5F 0004                move.w     [A7 + 0x4], [A7]+
  4337. 000027E6  2078 0AB4                movea.l    A0, [0x00000AB4 /* TEScrpHandle */]
  4338. 000027EA  A02A                     syscall    HUnlock
  4339. 000027EC  4E75                     rts
  4340. 000027EE  201F                     move.l     D0, [A7]+
  4341. 000027F0  225F                     movea.l    A1, [A7]+
  4342. 000027F2  2B5F 0014                move.l     [A5 + 0x14], [A7]+
  4343. 000027F6  2251                     movea.l    A1, [A1]
  4344. 000027F8  41FA 000A                lea.l      A0, [PC + 0xA /* 00002804, value 0x4227206D 'B\' m', cstring "B\' m" */]
  4345. 000027FC  2348 002A                move.l     [A1 + 0x2A], A0
  4346. 00002800  2040                     movea.l    A0, D0
  4347. 00002802  4ED0                     jmp        [A0]
  4348. 00002804  4227                     clr.b      -[A7]
  4349. 00002806  206D 0014                movea.l    A0, [A5 + 0x14]
  4350. 0000280A  4E90                     jsr        [A0]
  4351. 0000280C  101F                     move.b     D0, [A7]+
  4352. 0000280E  4E75                     rts
  4353. 00002810  201F                     move.l     D0, [A7]+
  4354. 00002812  225F                     movea.l    A1, [A7]+
  4355. 00002814  2B5F 0018                move.l     [A5 + 0x18], [A7]+
  4356. 00002818  2251                     movea.l    A1, [A1]
  4357. 0000281A  41FA 000A                lea.l      A0, [PC + 0xA /* 00002826, value 0x42272F08 */]
  4358. 0000281E  2348 0026                move.l     [A1 + 0x26], A0
  4359. 00002822  2040                     movea.l    A0, D0
  4360. 00002824  4ED0                     jmp        [A0]
  4361. 00002826  4227                     clr.b      -[A7]
  4362. 00002828  2F08                     move.l     -[A7], A0
  4363. 0000282A  3F00                     move.w     -[A7], D0
  4364. 0000282C  206D 0018                movea.l    A0, [A5 + 0x18]
  4365. 00002830  4E90                     jsr        [A0]
  4366. 00002832  4A1F                     tst.b      [A7]+
  4367. 00002834  4E75                     rts
  4368. 00002836  4E56 0000                link       A6, 0
  4369. 0000283A  594F                     subq.w     A7, 4
  4370. 0000283C  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  4371. 00002842  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  4372. 00002846  A9A0                     syscall    GetResource
  4373. 00002848  226E 000C                movea.l    A1, [A6 + 0xC]
  4374. 0000284C  4211                     clr.b      [A1]
  4375. 0000284E  201F                     move.l     D0, [A7]+
  4376. 00002850  6722                     beq        +0x24 /* 00002874 */
  4377. 00002852  2040                     movea.l    A0, D0
  4378. 00002854  2050                     movea.l    A0, [A0]
  4379. 00002856  3018                     move.w     D0, [A0]+
  4380. 00002858  322E 0008                move.w     D1, [A6 + 0x8]
  4381. 0000285C  6716                     beq        +0x18 /* 00002874 */
  4382. 0000285E  B240                     cmp.w      D1, D0
  4383. 00002860  6212                     bhi        +0x14 /* 00002874 */
  4384. 00002862  7000                     moveq.l    D0, 0x00
  4385. label00002864:
  4386. 00002864  5341                     subq.w     D1, 1
  4387. 00002866  6706                     beq        +0x8 /* 0000286E */
  4388. 00002868  1018                     move.b     D0, [A0]+
  4389. 0000286A  D1C0                     add.l      A0, D0
  4390. 0000286C  60F6                     bra        -0x8 /* 00002864 */
  4391. label0000286E:
  4392. 0000286E  1010                     move.b     D0, [A0]
  4393. 00002870  5240                     addq.w     D0, 1
  4394. 00002872  A02E                     syscall    BlockMove/BlockMoveData
  4395. label00002874:
  4396. 00002874  4E5E                     unlink     A6
  4397. 00002876  205F                     movea.l    A0, [A7]+
  4398. 00002878  508F                     addq.l     A7, 8
  4399. 0000287A  4ED0                     jmp        [A0]
  4400. 0000287C  4E56 0000                link       A6, 0
  4401. 00002880  594F                     subq.w     A7, 4
  4402. 00002882  2F3C 5041 5423           move.l     -[A7], 0x50415423 /* 'PAT#' */
  4403. 00002888  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  4404. 0000288C  A9A0                     syscall    GetResource
  4405. 0000288E  226E 000C                movea.l    A1, [A6 + 0xC]
  4406. 00002892  201F                     move.l     D0, [A7]+
  4407. 00002894  671C                     beq        +0x1E /* 000028B2 */
  4408. 00002896  2040                     movea.l    A0, D0
  4409. 00002898  2050                     movea.l    A0, [A0]
  4410. 0000289A  3018                     move.w     D0, [A0]+
  4411. 0000289C  322E 0008                move.w     D1, [A6 + 0x8]
  4412. 000028A0  6710                     beq        +0x12 /* 000028B2 */
  4413. 000028A2  B240                     cmp.w      D1, D0
  4414. 000028A4  620C                     bhi        +0xE /* 000028B2 */
  4415. label000028A6:
  4416. 000028A6  5341                     subq.w     D1, 1
  4417. 000028A8  6704                     beq        +0x6 /* 000028AE */
  4418. 000028AA  5048                     addq.w     A0, 8
  4419. 000028AC  60F8                     bra        -0x6 /* 000028A6 */
  4420. label000028AE:
  4421. 000028AE  22D8                     move.l     [A1]+, [A0]+
  4422. 000028B0  2290                     move.l     [A1], [A0]
  4423. label000028B2:
  4424. 000028B2  4E5E                     unlink     A6
  4425. 000028B4  205F                     movea.l    A0, [A7]+
  4426. 000028B6  508F                     addq.l     A7, 8
  4427. 000028B8  4ED0                     jmp        [A0]
  4428. 000028BA  205F                     movea.l    A0, [A7]+
  4429. 000028BC  225F                     movea.l    A1, [A7]+
  4430. 000028BE  32B8 0102                move.w     [A1], [0x00000102 /* ScrVRes */]
  4431. 000028C2  225F                     movea.l    A1, [A7]+
  4432. 000028C4  32B8 0104                move.w     [A1], [0x00000104 /* ScrHRes */]
  4433. 000028C8  4ED0                     jmp        [A0]
  4434. 000028CA  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  4435. 000028D0  6202                     bhi        +0x4 /* 000028D4 */
  4436. 000028D2  AC14                     syscall    SetFractEnable, auto_pop
  4437. label000028D4:
  4438. 000028D4  205F                     movea.l    A0, [A7]+
  4439. 000028D6  11DF 0BF4                move.b     [0x00000BF4 /* FractEnable */], [A7]+
  4440. 000028DA  21F8 0A06 0B4C           move.l     [0x00000B4C /* LastSPExtra */], [0x00000A06 /* MinusOne */]
  4441. 000028E0  4ED0                     jmp        [A0]
  4442. 000028E2  558F                     subq.l     A7, 2
  4443. 000028E4  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  4444. 000028E8  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  4445. 000028EC  486F 0006                pea.l      [A7 + 0x6]
  4446. 000028F0  A941                     syscall    GetItmStyle
  4447. 000028F2  301F                     move.w     D0, [A7]+
  4448. 000028F4  205F                     movea.l    A0, [A7]+
  4449. 000028F6  225F                     movea.l    A1, [A7]+
  4450. 000028F8  1280                     move.b     [A1], D0
  4451. 000028FA  5C8F                     addq.l     A7, 6
  4452. 000028FC  4ED0                     jmp        [A0]
  4453. 000028FE  205F                     movea.l    A0, [A7]+
  4454. 00002900  31DF 0AFA                move.w     [0x00000AFA /* DlgFont */], [A7]+
  4455. 00002904  4ED0                     jmp        [A0]
  4456. 00002906  A836                     syscall    GetMaskTable
  4457. 00002908  2F48 0004                move.l     [A7 + 0x4], A0
  4458. 0000290C  4E75                     rts
  4459. 0000290E  2F78 09EE 0004           move.l     [A7 + 0x4], [0x000009EE /* GrayRgn */]
  4460. 00002914  4E75                     rts
  4461. 00002916  4EED 006A                jmp        [A5 + 0x6A /* export_9 */]
  4462. 0000291A  4E56 FEFE                link       A6, -0x0102
  4463. 0000291E  306E 0008                movea.w    A0, [A6 + 0x8]
  4464. 00002922  2F08                     move.l     -[A7], A0
  4465. 00002924  486E FF00                pea.l      [A6 - 0x100]
  4466. 00002928  4EAD 0000                jsr        [A5 + 0x0]
  4467. 0000292C  486E FF00                pea.l      [A6 - 0x100]
  4468. 00002930  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  4469. 00002934  42A7                     clr.l      -[A7]
  4470. 00002936  42A7                     clr.l      -[A7]
  4471. 00002938  A98B                     syscall    ParamText
  4472. 0000293A  4267                     clr.w      -[A7]
  4473. 0000293C  3F3C 0081                move.w     -[A7], 0x81
  4474. 00002940  42A7                     clr.l      -[A7]
  4475. 00002942  A985                     syscall    Alert
  4476. 00002944  3D5F FEFE                move.w     [A6 - 0x102], [A7]+
  4477. 00002948  4E5E                     unlink     A6
  4478. 0000294A  4E75                     rts
  4479. 0000294C  8845                     or.w       D4, D5
  4480. 0000294E  7272                     moveq.l    D1, 0x72
  4481. 00002950  416C 6572                chk.w      D0, [A4 + 0x6572]
  4482. 00002954  7400                     moveq.l    D2, 0x00
  4483. 00002956  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4484. 0000295A  0000 48E7                ori.b      D0, 0xE7
  4485. 0000295E  0118                     btst       [A0]+, D0
  4486. 00002960  286E 000C                movea.l    A4, [A6 + 0xC]
  4487. 00002964  266E 0008                movea.l    A3, [A6 + 0x8]
  4488. 00002968  3E2C 0002                move.w     D7, [A4 + 0x2]
  4489. 0000296C  4A47                     tst.w      D7
  4490. 0000296E  6C6E                     bge        +0x70 /* 000029DE */
  4491. 00002970  3007                     move.w     D0, D7
  4492. 00002972  6A62                     bpl        +0x64 /* 000029D6 */
  4493. 00002974  5640                     addq.w     D0, 3
  4494. 00002976  6736                     beq        +0x38 /* 000029AE */
  4495. 00002978  6A06                     bpl        +0x8 /* 00002980 */
  4496. 0000297A  5240                     addq.w     D0, 1
  4497. 0000297C  6A44                     bpl        +0x46 /* 000029C2 */
  4498. 0000297E  6056                     bra        +0x58 /* 000029D6 */
  4499. label00002980:
  4500. 00002980  5540                     subq.w     D0, 2
  4501. 00002982  6B14                     bmi        +0x16 /* 00002998 */
  4502. 00002984  42A7                     clr.l      -[A7]
  4503. 00002986  2F0C                     move.l     -[A7], A4
  4504. 00002988  486D 0000                pea.l      [A5 + 0x0]
  4505. 0000298C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4506. 0000298E  A82A                     syscall    ComponentDispatch
  4507. 00002990  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4508. 00002994  6000 0390                bra        +0x392 /* 00002D26 */
  4509. label00002998:
  4510. 00002998  42A7                     clr.l      -[A7]
  4511. 0000299A  2F0B                     move.l     -[A7], A3
  4512. 0000299C  2F0C                     move.l     -[A7], A4
  4513. 0000299E  486D 0000                pea.l      [A5 + 0x0]
  4514. 000029A2  70FF                     moveq.l    D0, 0xFFFFFFFF
  4515. 000029A4  A82A                     syscall    ComponentDispatch
  4516. 000029A6  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4517. 000029AA  6000 037A                bra        +0x37C /* 00002D26 */
  4518. label000029AE:
  4519. 000029AE  42A7                     clr.l      -[A7]
  4520. 000029B0  2F0C                     move.l     -[A7], A4
  4521. 000029B2  486D 0000                pea.l      [A5 + 0x0]
  4522. 000029B6  70FF                     moveq.l    D0, 0xFFFFFFFF
  4523. 000029B8  A82A                     syscall    ComponentDispatch
  4524. 000029BA  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4525. 000029BE  6000 0366                bra        +0x368 /* 00002D26 */
  4526. label000029C2:
  4527. 000029C2  42A7                     clr.l      -[A7]
  4528. 000029C4  2F0C                     move.l     -[A7], A4
  4529. 000029C6  486D 0000                pea.l      [A5 + 0x0]
  4530. 000029CA  70FF                     moveq.l    D0, 0xFFFFFFFF
  4531. 000029CC  A82A                     syscall    ComponentDispatch
  4532. 000029CE  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4533. 000029D2  6000 0352                bra        +0x354 /* 00002D26 */
  4534. label000029D6:
  4535. 000029D6  42AE 0010                clr.l      [A6 + 0x10]
  4536. 000029DA  6000 034A                bra        +0x34C /* 00002D26 */
  4537. label000029DE:
  4538. 000029DE  3007                     move.w     D0, D7
  4539. 000029E0  0C40 0043                cmpi.w     D0, 0x43 /* 'C' */
  4540. 000029E4  6200 0338                bhi        +0x33A /* 00002D1E */
  4541. 000029E8  43FA 0356                lea.l      A1, [PC + 0x356 /* 00002D40, value 0xFFDEFCCA */]
  4542. 000029EC  D040                     add.w      D0, D0
  4543. 000029EE  D2F1 0000                add.w      A1, [A1 + D0.w]
  4544. 000029F2  4ED1                     jmp        [A1]
  4545. 000029F4  42A7                     clr.l      -[A7]
  4546. 000029F6  2F0B                     move.l     -[A7], A3
  4547. 000029F8  2F0C                     move.l     -[A7], A4
  4548. 000029FA  486D 0000                pea.l      [A5 + 0x0]
  4549. 000029FE  70FF                     moveq.l    D0, 0xFFFFFFFF
  4550. 00002A00  A82A                     syscall    ComponentDispatch
  4551. 00002A02  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4552. 00002A06  6000 031E                bra        +0x320 /* 00002D26 */
  4553. 00002A0A  42A7                     clr.l      -[A7]
  4554. 00002A0C  2F0B                     move.l     -[A7], A3
  4555. 00002A0E  2F0C                     move.l     -[A7], A4
  4556. 00002A10  486D 0000                pea.l      [A5 + 0x0]
  4557. 00002A14  70FF                     moveq.l    D0, 0xFFFFFFFF
  4558. 00002A16  A82A                     syscall    ComponentDispatch
  4559. 00002A18  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4560. 00002A1C  6000 0308                bra        +0x30A /* 00002D26 */
  4561. 00002A20  42A7                     clr.l      -[A7]
  4562. 00002A22  2F0B                     move.l     -[A7], A3
  4563. 00002A24  2F0C                     move.l     -[A7], A4
  4564. 00002A26  486D 0000                pea.l      [A5 + 0x0]
  4565. 00002A2A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4566. 00002A2C  A82A                     syscall    ComponentDispatch
  4567. 00002A2E  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4568. 00002A32  6000 02F2                bra        +0x2F4 /* 00002D26 */
  4569. 00002A36  42A7                     clr.l      -[A7]
  4570. 00002A38  2F0B                     move.l     -[A7], A3
  4571. 00002A3A  2F0C                     move.l     -[A7], A4
  4572. 00002A3C  486D 0000                pea.l      [A5 + 0x0]
  4573. 00002A40  70FF                     moveq.l    D0, 0xFFFFFFFF
  4574. 00002A42  A82A                     syscall    ComponentDispatch
  4575. 00002A44  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4576. 00002A48  6000 02DC                bra        +0x2DE /* 00002D26 */
  4577. 00002A4C  42A7                     clr.l      -[A7]
  4578. 00002A4E  2F0B                     move.l     -[A7], A3
  4579. 00002A50  2F0C                     move.l     -[A7], A4
  4580. 00002A52  486D 0000                pea.l      [A5 + 0x0]
  4581. 00002A56  70FF                     moveq.l    D0, 0xFFFFFFFF
  4582. 00002A58  A82A                     syscall    ComponentDispatch
  4583. 00002A5A  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4584. 00002A5E  6000 02C6                bra        +0x2C8 /* 00002D26 */
  4585. 00002A62  42A7                     clr.l      -[A7]
  4586. 00002A64  2F0B                     move.l     -[A7], A3
  4587. 00002A66  2F0C                     move.l     -[A7], A4
  4588. 00002A68  486D 0000                pea.l      [A5 + 0x0]
  4589. 00002A6C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4590. 00002A6E  A82A                     syscall    ComponentDispatch
  4591. 00002A70  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4592. 00002A74  6000 02B0                bra        +0x2B2 /* 00002D26 */
  4593. 00002A78  42A7                     clr.l      -[A7]
  4594. 00002A7A  2F0B                     move.l     -[A7], A3
  4595. 00002A7C  2F0C                     move.l     -[A7], A4
  4596. 00002A7E  486D 0000                pea.l      [A5 + 0x0]
  4597. 00002A82  70FF                     moveq.l    D0, 0xFFFFFFFF
  4598. 00002A84  A82A                     syscall    ComponentDispatch
  4599. 00002A86  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4600. 00002A8A  6000 029A                bra        +0x29C /* 00002D26 */
  4601. 00002A8E  42A7                     clr.l      -[A7]
  4602. 00002A90  2F0B                     move.l     -[A7], A3
  4603. 00002A92  2F0C                     move.l     -[A7], A4
  4604. 00002A94  486D 0000                pea.l      [A5 + 0x0]
  4605. 00002A98  70FF                     moveq.l    D0, 0xFFFFFFFF
  4606. 00002A9A  A82A                     syscall    ComponentDispatch
  4607. 00002A9C  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4608. 00002AA0  6000 0284                bra        +0x286 /* 00002D26 */
  4609. 00002AA4  42A7                     clr.l      -[A7]
  4610. 00002AA6  2F0B                     move.l     -[A7], A3
  4611. 00002AA8  2F0C                     move.l     -[A7], A4
  4612. 00002AAA  486D 0000                pea.l      [A5 + 0x0]
  4613. 00002AAE  70FF                     moveq.l    D0, 0xFFFFFFFF
  4614. 00002AB0  A82A                     syscall    ComponentDispatch
  4615. 00002AB2  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4616. 00002AB6  6000 026E                bra        +0x270 /* 00002D26 */
  4617. 00002ABA  42A7                     clr.l      -[A7]
  4618. 00002ABC  2F0B                     move.l     -[A7], A3
  4619. 00002ABE  2F0C                     move.l     -[A7], A4
  4620. 00002AC0  486D 0000                pea.l      [A5 + 0x0]
  4621. 00002AC4  70FF                     moveq.l    D0, 0xFFFFFFFF
  4622. 00002AC6  A82A                     syscall    ComponentDispatch
  4623. 00002AC8  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4624. 00002ACC  6000 0258                bra        +0x25A /* 00002D26 */
  4625. 00002AD0  42A7                     clr.l      -[A7]
  4626. 00002AD2  2F0B                     move.l     -[A7], A3
  4627. 00002AD4  2F0C                     move.l     -[A7], A4
  4628. 00002AD6  486D 0000                pea.l      [A5 + 0x0]
  4629. 00002ADA  70FF                     moveq.l    D0, 0xFFFFFFFF
  4630. 00002ADC  A82A                     syscall    ComponentDispatch
  4631. 00002ADE  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4632. 00002AE2  6000 0242                bra        +0x244 /* 00002D26 */
  4633. 00002AE6  42A7                     clr.l      -[A7]
  4634. 00002AE8  2F0B                     move.l     -[A7], A3
  4635. 00002AEA  2F0C                     move.l     -[A7], A4
  4636. 00002AEC  486D 0000                pea.l      [A5 + 0x0]
  4637. 00002AF0  70FF                     moveq.l    D0, 0xFFFFFFFF
  4638. 00002AF2  A82A                     syscall    ComponentDispatch
  4639. 00002AF4  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4640. 00002AF8  6000 022C                bra        +0x22E /* 00002D26 */
  4641. 00002AFC  42A7                     clr.l      -[A7]
  4642. 00002AFE  2F0B                     move.l     -[A7], A3
  4643. 00002B00  2F0C                     move.l     -[A7], A4
  4644. 00002B02  486D 0000                pea.l      [A5 + 0x0]
  4645. 00002B06  70FF                     moveq.l    D0, 0xFFFFFFFF
  4646. 00002B08  A82A                     syscall    ComponentDispatch
  4647. 00002B0A  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4648. 00002B0E  6000 0216                bra        +0x218 /* 00002D26 */
  4649. 00002B12  42A7                     clr.l      -[A7]
  4650. 00002B14  2F0B                     move.l     -[A7], A3
  4651. 00002B16  2F0C                     move.l     -[A7], A4
  4652. 00002B18  486D 0000                pea.l      [A5 + 0x0]
  4653. 00002B1C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4654. 00002B1E  A82A                     syscall    ComponentDispatch
  4655. 00002B20  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4656. 00002B24  6000 0200                bra        +0x202 /* 00002D26 */
  4657. 00002B28  42A7                     clr.l      -[A7]
  4658. 00002B2A  2F0B                     move.l     -[A7], A3
  4659. 00002B2C  2F0C                     move.l     -[A7], A4
  4660. 00002B2E  486D 0000                pea.l      [A5 + 0x0]
  4661. 00002B32  70FF                     moveq.l    D0, 0xFFFFFFFF
  4662. 00002B34  A82A                     syscall    ComponentDispatch
  4663. 00002B36  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4664. 00002B3A  6000 01EA                bra        +0x1EC /* 00002D26 */
  4665. 00002B3E  42A7                     clr.l      -[A7]
  4666. 00002B40  2F0B                     move.l     -[A7], A3
  4667. 00002B42  2F0C                     move.l     -[A7], A4
  4668. 00002B44  486D 0000                pea.l      [A5 + 0x0]
  4669. 00002B48  70FF                     moveq.l    D0, 0xFFFFFFFF
  4670. 00002B4A  A82A                     syscall    ComponentDispatch
  4671. 00002B4C  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4672. 00002B50  6000 01D4                bra        +0x1D6 /* 00002D26 */
  4673. 00002B54  42A7                     clr.l      -[A7]
  4674. 00002B56  2F0B                     move.l     -[A7], A3
  4675. 00002B58  2F0C                     move.l     -[A7], A4
  4676. 00002B5A  486D 0000                pea.l      [A5 + 0x0]
  4677. 00002B5E  70FF                     moveq.l    D0, 0xFFFFFFFF
  4678. 00002B60  A82A                     syscall    ComponentDispatch
  4679. 00002B62  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4680. 00002B66  6000 01BE                bra        +0x1C0 /* 00002D26 */
  4681. 00002B6A  42A7                     clr.l      -[A7]
  4682. 00002B6C  2F0B                     move.l     -[A7], A3
  4683. 00002B6E  2F0C                     move.l     -[A7], A4
  4684. 00002B70  486D 0000                pea.l      [A5 + 0x0]
  4685. 00002B74  70FF                     moveq.l    D0, 0xFFFFFFFF
  4686. 00002B76  A82A                     syscall    ComponentDispatch
  4687. 00002B78  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4688. 00002B7C  6000 01A8                bra        +0x1AA /* 00002D26 */
  4689. 00002B80  42A7                     clr.l      -[A7]
  4690. 00002B82  2F0B                     move.l     -[A7], A3
  4691. 00002B84  2F0C                     move.l     -[A7], A4
  4692. 00002B86  486D 0000                pea.l      [A5 + 0x0]
  4693. 00002B8A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4694. 00002B8C  A82A                     syscall    ComponentDispatch
  4695. 00002B8E  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4696. 00002B92  6000 0192                bra        +0x194 /* 00002D26 */
  4697. 00002B96  42A7                     clr.l      -[A7]
  4698. 00002B98  2F0B                     move.l     -[A7], A3
  4699. 00002B9A  2F0C                     move.l     -[A7], A4
  4700. 00002B9C  486D 0000                pea.l      [A5 + 0x0]
  4701. 00002BA0  70FF                     moveq.l    D0, 0xFFFFFFFF
  4702. 00002BA2  A82A                     syscall    ComponentDispatch
  4703. 00002BA4  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4704. 00002BA8  6000 017C                bra        +0x17E /* 00002D26 */
  4705. 00002BAC  42A7                     clr.l      -[A7]
  4706. 00002BAE  2F0B                     move.l     -[A7], A3
  4707. 00002BB0  2F0C                     move.l     -[A7], A4
  4708. 00002BB2  486D 0000                pea.l      [A5 + 0x0]
  4709. 00002BB6  70FF                     moveq.l    D0, 0xFFFFFFFF
  4710. 00002BB8  A82A                     syscall    ComponentDispatch
  4711. 00002BBA  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4712. 00002BBE  6000 0166                bra        +0x168 /* 00002D26 */
  4713. 00002BC2  42A7                     clr.l      -[A7]
  4714. 00002BC4  2F0B                     move.l     -[A7], A3
  4715. 00002BC6  2F0C                     move.l     -[A7], A4
  4716. 00002BC8  486D 0000                pea.l      [A5 + 0x0]
  4717. 00002BCC  70FF                     moveq.l    D0, 0xFFFFFFFF
  4718. 00002BCE  A82A                     syscall    ComponentDispatch
  4719. 00002BD0  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4720. 00002BD4  6000 0150                bra        +0x152 /* 00002D26 */
  4721. 00002BD8  42A7                     clr.l      -[A7]
  4722. 00002BDA  2F0B                     move.l     -[A7], A3
  4723. 00002BDC  2F0C                     move.l     -[A7], A4
  4724. 00002BDE  486D 0000                pea.l      [A5 + 0x0]
  4725. 00002BE2  70FF                     moveq.l    D0, 0xFFFFFFFF
  4726. 00002BE4  A82A                     syscall    ComponentDispatch
  4727. 00002BE6  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4728. 00002BEA  6000 013A                bra        +0x13C /* 00002D26 */
  4729. 00002BEE  42A7                     clr.l      -[A7]
  4730. 00002BF0  2F0B                     move.l     -[A7], A3
  4731. 00002BF2  2F0C                     move.l     -[A7], A4
  4732. 00002BF4  486D 0000                pea.l      [A5 + 0x0]
  4733. 00002BF8  70FF                     moveq.l    D0, 0xFFFFFFFF
  4734. 00002BFA  A82A                     syscall    ComponentDispatch
  4735. 00002BFC  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4736. 00002C00  6000 0124                bra        +0x126 /* 00002D26 */
  4737. 00002C04  2D7C FFFF F767 0010      move.l     [A6 + 0x10], 0xFFFFF767
  4738. 00002C0C  6000 0118                bra        +0x11A /* 00002D26 */
  4739. 00002C10  42A7                     clr.l      -[A7]
  4740. 00002C12  2F0B                     move.l     -[A7], A3
  4741. 00002C14  2F0C                     move.l     -[A7], A4
  4742. 00002C16  486D 0000                pea.l      [A5 + 0x0]
  4743. 00002C1A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4744. 00002C1C  A82A                     syscall    ComponentDispatch
  4745. 00002C1E  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4746. 00002C22  6000 0102                bra        +0x104 /* 00002D26 */
  4747. 00002C26  42A7                     clr.l      -[A7]
  4748. 00002C28  2F0B                     move.l     -[A7], A3
  4749. 00002C2A  2F0C                     move.l     -[A7], A4
  4750. 00002C2C  486D 0000                pea.l      [A5 + 0x0]
  4751. 00002C30  70FF                     moveq.l    D0, 0xFFFFFFFF
  4752. 00002C32  A82A                     syscall    ComponentDispatch
  4753. 00002C34  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4754. 00002C38  6000 00EC                bra        +0xEE /* 00002D26 */
  4755. 00002C3C  42A7                     clr.l      -[A7]
  4756. 00002C3E  2F0B                     move.l     -[A7], A3
  4757. 00002C40  2F0C                     move.l     -[A7], A4
  4758. 00002C42  486D 0000                pea.l      [A5 + 0x0]
  4759. 00002C46  70FF                     moveq.l    D0, 0xFFFFFFFF
  4760. 00002C48  A82A                     syscall    ComponentDispatch
  4761. 00002C4A  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4762. 00002C4E  6000 00D6                bra        +0xD8 /* 00002D26 */
  4763. 00002C52  42A7                     clr.l      -[A7]
  4764. 00002C54  2F0B                     move.l     -[A7], A3
  4765. 00002C56  2F0C                     move.l     -[A7], A4
  4766. 00002C58  486D 0000                pea.l      [A5 + 0x0]
  4767. 00002C5C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4768. 00002C5E  A82A                     syscall    ComponentDispatch
  4769. 00002C60  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4770. 00002C64  6000 00C0                bra        +0xC2 /* 00002D26 */
  4771. 00002C68  42A7                     clr.l      -[A7]
  4772. 00002C6A  2F0B                     move.l     -[A7], A3
  4773. 00002C6C  2F0C                     move.l     -[A7], A4
  4774. 00002C6E  486D 0000                pea.l      [A5 + 0x0]
  4775. 00002C72  70FF                     moveq.l    D0, 0xFFFFFFFF
  4776. 00002C74  A82A                     syscall    ComponentDispatch
  4777. 00002C76  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4778. 00002C7A  6000 00AA                bra        +0xAC /* 00002D26 */
  4779. 00002C7E  42A7                     clr.l      -[A7]
  4780. 00002C80  2F0C                     move.l     -[A7], A4
  4781. 00002C82  486D 0000                pea.l      [A5 + 0x0]
  4782. 00002C86  70FF                     moveq.l    D0, 0xFFFFFFFF
  4783. 00002C88  A82A                     syscall    ComponentDispatch
  4784. 00002C8A  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4785. 00002C8E  6000 0096                bra        +0x98 /* 00002D26 */
  4786. 00002C92  42A7                     clr.l      -[A7]
  4787. 00002C94  2F0C                     move.l     -[A7], A4
  4788. 00002C96  486D 0000                pea.l      [A5 + 0x0]
  4789. 00002C9A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4790. 00002C9C  A82A                     syscall    ComponentDispatch
  4791. 00002C9E  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4792. 00002CA2  6000 0082                bra        +0x84 /* 00002D26 */
  4793. 00002CA6  42A7                     clr.l      -[A7]
  4794. 00002CA8  2F0B                     move.l     -[A7], A3
  4795. 00002CAA  2F0C                     move.l     -[A7], A4
  4796. 00002CAC  486D 0000                pea.l      [A5 + 0x0]
  4797. 00002CB0  70FF                     moveq.l    D0, 0xFFFFFFFF
  4798. 00002CB2  A82A                     syscall    ComponentDispatch
  4799. 00002CB4  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4800. 00002CB8  606C                     bra        +0x6E /* 00002D26 */
  4801. 00002CBA  42A7                     clr.l      -[A7]
  4802. 00002CBC  2F0B                     move.l     -[A7], A3
  4803. 00002CBE  2F0C                     move.l     -[A7], A4
  4804. 00002CC0  486D 0000                pea.l      [A5 + 0x0]
  4805. 00002CC4  70FF                     moveq.l    D0, 0xFFFFFFFF
  4806. 00002CC6  A82A                     syscall    ComponentDispatch
  4807. 00002CC8  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4808. 00002CCC  6058                     bra        +0x5A /* 00002D26 */
  4809. 00002CCE  42A7                     clr.l      -[A7]
  4810. 00002CD0  2F0B                     move.l     -[A7], A3
  4811. 00002CD2  2F0C                     move.l     -[A7], A4
  4812. 00002CD4  486D 0000                pea.l      [A5 + 0x0]
  4813. 00002CD8  70FF                     moveq.l    D0, 0xFFFFFFFF
  4814. 00002CDA  A82A                     syscall    ComponentDispatch
  4815. 00002CDC  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4816. 00002CE0  6044                     bra        +0x46 /* 00002D26 */
  4817. 00002CE2  42A7                     clr.l      -[A7]
  4818. 00002CE4  2F0B                     move.l     -[A7], A3
  4819. 00002CE6  2F0C                     move.l     -[A7], A4
  4820. 00002CE8  486D 0000                pea.l      [A5 + 0x0]
  4821. 00002CEC  70FF                     moveq.l    D0, 0xFFFFFFFF
  4822. 00002CEE  A82A                     syscall    ComponentDispatch
  4823. 00002CF0  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4824. 00002CF4  6030                     bra        +0x32 /* 00002D26 */
  4825. 00002CF6  42A7                     clr.l      -[A7]
  4826. 00002CF8  2F0B                     move.l     -[A7], A3
  4827. 00002CFA  2F0C                     move.l     -[A7], A4
  4828. 00002CFC  486D 0000                pea.l      [A5 + 0x0]
  4829. 00002D00  70FF                     moveq.l    D0, 0xFFFFFFFF
  4830. 00002D02  A82A                     syscall    ComponentDispatch
  4831. 00002D04  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4832. 00002D08  601C                     bra        +0x1E /* 00002D26 */
  4833. 00002D0A  42A7                     clr.l      -[A7]
  4834. 00002D0C  2F0B                     move.l     -[A7], A3
  4835. 00002D0E  2F0C                     move.l     -[A7], A4
  4836. 00002D10  486D 0000                pea.l      [A5 + 0x0]
  4837. 00002D14  70FF                     moveq.l    D0, 0xFFFFFFFF
  4838. 00002D16  A82A                     syscall    ComponentDispatch
  4839. 00002D18  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4840. 00002D1C  6008                     bra        +0xA /* 00002D26 */
  4841. label00002D1E:
  4842. 00002D1E  2D7C FFFF F767 0010      move.l     [A6 + 0x10], 0xFFFFF767
  4843. label00002D26:
  4844. 00002D26  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  4845. 00002D2A  4E5E                     unlink     A6
  4846. 00002D2C  205F                     movea.l    A0, [A7]+
  4847. 00002D2E  508F                     addq.l     A7, 8
  4848. 00002D30  4ED0                     jmp        [A0]
  4849. 00002D32  8A52                     or.w       D5, [A2]
  4850. 00002D34  4F33 3634                .invalid   7, [A3 + D3.w * 8 + 0x34] // invalid opcode 4 with b == 4
  4851. 00002D38  5468 696E                addq.w     [A0 + 0x696E], 2
  4852. 00002D3C  6700 0088                beq        +0x8A /* 00002DC6 */
  4853. 00002D40  FFDE                     .invalid   <<F/7/7>>
  4854. 00002D42  FCCA FCE0                .extension 0xCCA <<F/2-3/6>> // unimplemented
  4855. 00002D46  FCF6 FD0C                .extension 0xCF6 <<F/2-3/6>> // unimplemented
  4856. 00002D4A  FD22                     .extension 0xD22 <<F/4-5/6>> // unimplemented
  4857. 00002D4C  FFDE                     .invalid   <<F/7/7>>
  4858. 00002D4E  FD38                     .extension 0xD38 <<F/4-5/6>> // unimplemented
  4859. 00002D50  FD4E                     .extension 0xD4E <<F/4-5/6>> // unimplemented
  4860. 00002D52  FFDE                     .invalid   <<F/7/7>>
  4861. 00002D54  FFDE                     .invalid   <<F/7/7>>
  4862. 00002D56  FFDE                     .invalid   <<F/7/7>>
  4863. 00002D58  FD64                     .extension 0xD64 <<F/4-5/6>> // unimplemented
  4864. 00002D5A  FD7A                     .extension 0xD7A <<F/4-5/6>> // unimplemented
  4865. 00002D5C  FD90                     .invalid   <<F/6/6>>
  4866. 00002D5E  FDA6                     .invalid   <<F/6/6>>
  4867. 00002D60  FFDE                     .invalid   <<F/7/7>>
  4868. 00002D62  FDBC                     .invalid   <<F/6/6>>
  4869. 00002D64  FDD2                     .invalid   <<F/7/6>>
  4870. 00002D66  FDE8                     .invalid   <<F/7/6>>
  4871. 00002D68  FFDE                     .invalid   <<F/7/7>>
  4872. 00002D6A  FDFE                     .invalid   <<F/7/6>>
  4873. 00002D6C  FE14 FE2A                .unknown   0xFE14 0xFE2A (W = 7)
  4874. 00002D70  FCB4 FE40                .extension 0xCB4 <<F/2-3/6>> // unimplemented
  4875. 00002D74  FE56 FFDE                .extension 0xE56 <<F/1/7>>, 0xFFDE // unimplemented
  4876. 00002D78  FFDE                     .invalid   <<F/7/7>>
  4877. 00002D7A  FFDE                     .invalid   <<F/7/7>>
  4878. 00002D7C  FFDE                     .invalid   <<F/7/7>>
  4879. 00002D7E  FFDE                     .invalid   <<F/7/7>>
  4880. 00002D80  FFDE                     .invalid   <<F/7/7>>
  4881. 00002D82  FFDE                     .invalid   <<F/7/7>>
  4882. 00002D84  FFDE                     .invalid   <<F/7/7>>
  4883. 00002D86  FFDE                     .invalid   <<F/7/7>>
  4884. 00002D88  FFDE                     .invalid   <<F/7/7>>
  4885. 00002D8A  FFDE                     .invalid   <<F/7/7>>
  4886. 00002D8C  FFDE                     .invalid   <<F/7/7>>
  4887. 00002D8E  FFDE                     .invalid   <<F/7/7>>
  4888. 00002D90  FFDE                     .invalid   <<F/7/7>>
  4889. 00002D92  FE6C FE82                .extension 0xE6C <<F/1/7>>, 0xFE82 // unimplemented
  4890. 00002D96  FFDE                     .invalid   <<F/7/7>>
  4891. 00002D98  FFDE                     .invalid   <<F/7/7>>
  4892. 00002D9A  FE98 FEAE                .extension 0xE98 <<F/2-3/7>> // unimplemented
  4893. 00002D9E  FFDE                     .invalid   <<F/7/7>>
  4894. 00002DA0  FFDE                     .invalid   <<F/7/7>>
  4895. 00002DA2  FFDE                     .invalid   <<F/7/7>>
  4896. 00002DA4  FEC4 FFDE                .extension 0xEC4 <<F/2-3/7>> // unimplemented
  4897. 00002DA8  FFDE                     .invalid   <<F/7/7>>
  4898. 00002DAA  FFDE                     .invalid   <<F/7/7>>
  4899. 00002DAC  FFDE                     .invalid   <<F/7/7>>
  4900. 00002DAE  FED0 FEE6                .extension 0xED0 <<F/2-3/7>> // unimplemented
  4901. 00002DB2  FEFC FF12                .extension 0xEFC <<F/2-3/7>> // unimplemented
  4902. 00002DB6  FF28                     .extension 0xF28 <<F/4-5/7>> // unimplemented
  4903. 00002DB8  FF3E                     .extension 0xF3E <<F/4-5/7>> // unimplemented
  4904. 00002DBA  FF52                     .extension 0xF52 <<F/4-5/7>> // unimplemented
  4905. 00002DBC  FF66                     .extension 0xF66 <<F/4-5/7>> // unimplemented
  4906. 00002DBE  FF7A                     .extension 0xF7A <<F/4-5/7>> // unimplemented
  4907. 00002DC0  FF8E                     .invalid   <<F/6/7>>
  4908. 00002DC2  FFA2                     .invalid   <<F/6/7>>
  4909. 00002DC4  FFB6                     .invalid   <<F/6/7>>
  4910. label00002DC6:
  4911. 00002DC6  FFCA                     .invalid   <<F/7/7>>
  4912. 00002DC8  4E56 FFE6                link       A6, -0x001A
  4913. 00002DCC  48E7 0738                movem.l    -[A7], D5,D6,D7,A2,A3,A4
  4914. 00002DD0  286E 0008                movea.l    A4, [A6 + 0x8]
  4915. 00002DD4  42A7                     clr.l      -[A7]
  4916. 00002DD6  2F0C                     move.l     -[A7], A4
  4917. 00002DD8  7013                     moveq.l    D0, 0x13
  4918. 00002DDA  A82A                     syscall    ComponentDispatch
  4919. 00002DDC  7001                     moveq.l    D0, 0x01
  4920. 00002DDE  B09F                     cmp.l      D0, [A7]+
  4921. 00002DE0  6C0A                     bge        +0xC /* 00002DEC */
  4922. 00002DE2  70FF                     moveq.l    D0, 0xFFFFFFFF
  4923. 00002DE4  2D40 000C                move.l     [A6 + 0xC], D0
  4924. 00002DE8  6000 014A                bra        +0x14C /* 00002F34 */
  4925. label00002DEC:
  4926. 00002DEC  203C 0000 00C8           move.l     D0, 0xC8
  4927. 00002DF2  A122                     syscall    NewHandle, flags=1
  4928. 00002DF4  2648                     movea.l    A3, A0
  4929. 00002DF6  204B                     movea.l    A0, A3
  4930. 00002DF8  A064                     syscall    MoveHHi
  4931. 00002DFA  204B                     movea.l    A0, A3
  4932. 00002DFC  A029                     syscall    HLock
  4933. 00002DFE  2453                     movea.l    A2, [A3]
  4934. 00002E00  4267                     clr.w      -[A7]
  4935. 00002E02  2F0C                     move.l     -[A7], A4
  4936. 00002E04  7015                     moveq.l    D0, 0x15
  4937. 00002E06  A82A                     syscall    ComponentDispatch
  4938. 00002E08  3C1F                     move.w     D6, [A7]+
  4939. 00002E0A  486E FFE7                pea.l      [A6 - 0x19]
  4940. 00002E0E  486E FFFA                pea.l      [A6 - 0x6]
  4941. 00002E12  486E FFFC                pea.l      [A6 - 0x4]
  4942. 00002E16  486E FFFF                pea.l      [A6 - 0x1]
  4943. 00002E1A  4EBA 18C8                jsr        [PC + 0x18C8 /* 000046E4 */]
  4944. 00002E1E  1E00                     move.b     D7, D0
  4945. 00002E20  4257                     clr.w      [A7]
  4946. 00002E22  3F06                     move.w     -[A7], D6
  4947. 00002E24  7018                     moveq.l    D0, 0x18
  4948. 00002E26  A82A                     syscall    ComponentDispatch
  4949. 00002E28  4A07                     tst.b      D7
  4950. 00002E2A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4951. 00002E2E  6700 00F4                beq        +0xF6 /* 00002F24 */
  4952. 00002E32  156E FFE7 00C2           move.b     [A2 + 0xC2], [A6 - 0x19]
  4953. 00002E38  486E FFEE                pea.l      [A6 - 0x12]
  4954. 00002E3C  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  4955. 00002E40  4EBA 195E                jsr        [PC + 0x195E /* 000047A0 */]
  4956. 00002E44  2540 0008                move.l     [A2 + 0x8], D0
  4957. 00002E48  4297                     clr.l      [A7]
  4958. 00002E4A  AA03                     syscall    NewPixMap
  4959. 00002E4C  255F 000C                move.l     [A2 + 0xC], [A7]+
  4960. 00002E50  42A7                     clr.l      -[A7]
  4961. 00002E52  AA03                     syscall    NewPixMap
  4962. 00002E54  255F 0010                move.l     [A2 + 0x10], [A7]+
  4963. 00002E58  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  4964. 00002E5C  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  4965. 00002E60  AA05                     syscall    CopyPixMap
  4966. 00002E62  34AE FFFC                move.w     [A2], [A6 - 0x4]
  4967. 00002E66  256E FFEE 0002           move.l     [A2 + 0x2], [A6 - 0x12]
  4968. 00002E6C  156E FFFF 0006           move.b     [A2 + 0x6], [A6 - 0x1]
  4969. 00002E72  42A7                     clr.l      -[A7]
  4970. 00002E74  2F0B                     move.l     -[A7], A3
  4971. 00002E76  4267                     clr.w      -[A7]
  4972. 00002E78  486E FFF2                pea.l      [A6 - 0xE]
  4973. 00002E7C  4EBA 018A                jsr        [PC + 0x18A /* 00003008 */]
  4974. 00002E80  2A1F                     move.l     D5, [A7]+
  4975. 00002E82  486E FFF2                pea.l      [A6 - 0xE]
  4976. 00002E86  42A7                     clr.l      -[A7]
  4977. 00002E88  42A7                     clr.l      -[A7]
  4978. 00002E8A  A8A7                     syscall    SetRect
  4979. 00002E8C  256E FFF2 002C           move.l     [A2 + 0x2C], [A6 - 0xE]
  4980. 00002E92  256E FFF6 0030           move.l     [A2 + 0x30], [A6 - 0xA]
  4981. 00002E98  257C 0001 0000 0044      move.l     [A2 + 0x44], 0x10000
  4982. 00002EA0  257C 0001 0000 0054      move.l     [A2 + 0x54], 0x10000
  4983. 00002EA8  426A 006A                clr.w      [A2 + 0x6A]
  4984. 00002EAC  257C 0000 1B01 006C      move.l     [A2 + 0x6C], 0x1B01
  4985. 00002EB4  257C 0243 6128 0070      move.l     [A2 + 0x70], 0x2436128
  4986. 00002EBC  4A2A 00C2                tst.b      [A2 + 0xC2]
  4987. 00002EC0  548F                     addq.l     A7, 2
  4988. 00002EC2  660E                     bne        +0x10 /* 00002ED2 */
  4989. 00002EC4  2F2E FFEE                move.l     -[A7], [A6 - 0x12]
  4990. 00002EC8  4267                     clr.w      -[A7]
  4991. 00002ECA  4EBA 1B58                jsr        [PC + 0x1B58 /* 00004A24 */]
  4992. 00002ECE  5C8F                     addq.l     A7, 6
  4993. 00002ED0  6016                     bra        +0x18 /* 00002EE8 */
  4994. label00002ED2:
  4995. 00002ED2  3F12                     move.w     -[A7], [A2]
  4996. 00002ED4  4267                     clr.w      -[A7]
  4997. 00002ED6  4EBA 1BC0                jsr        [PC + 0x1BC0 /* 00004A98 */]
  4998. 00002EDA  4297                     clr.l      [A7]
  4999. 00002EDC  2F0B                     move.l     -[A7], A3
  5000. 00002EDE  3F3C 0001                move.w     -[A7], 0x1
  5001. 00002EE2  4EBA 0B1C                jsr        [PC + 0xB1C /* 00003A00 */]
  5002. 00002EE6  2A1F                     move.l     D5, [A7]+
  5003. label00002EE8:
  5004. 00002EE8  2F0C                     move.l     -[A7], A4
  5005. 00002EEA  2F0B                     move.l     -[A7], A3
  5006. 00002EEC  700D                     moveq.l    D0, 0x0D
  5007. 00002EEE  A82A                     syscall    ComponentDispatch
  5008. 00002EF0  42A7                     clr.l      -[A7]
  5009. 00002EF2  2F0B                     move.l     -[A7], A3
  5010. 00002EF4  486A 007C                pea.l      [A2 + 0x7C]
  5011. 00002EF8  486A 007E                pea.l      [A2 + 0x7E]
  5012. 00002EFC  486A 0078                pea.l      [A2 + 0x78]
  5013. 00002F00  486A 0076                pea.l      [A2 + 0x76]
  5014. 00002F04  486A 007A                pea.l      [A2 + 0x7A]
  5015. 00002F08  486A 0074                pea.l      [A2 + 0x74]
  5016. 00002F0C  486E FFE8                pea.l      [A6 - 0x18]
  5017. 00002F10  4EBA 07D4                jsr        [PC + 0x7D4 /* 000036E6 */]
  5018. 00002F14  426A 00BE                clr.w      [A2 + 0xBE]
  5019. 00002F18  426A 00C0                clr.w      [A2 + 0xC0]
  5020. 00002F1C  42AA 00C4                clr.l      [A2 + 0xC4]
  5021. 00002F20  588F                     addq.l     A7, 4
  5022. 00002F22  600C                     bra        +0xE /* 00002F30 */
  5023. label00002F24:
  5024. 00002F24  204B                     movea.l    A0, A3
  5025. 00002F26  A023                     syscall    DisposHandle/DisposeHandle
  5026. 00002F28  70FF                     moveq.l    D0, 0xFFFFFFFF
  5027. 00002F2A  2D40 000C                move.l     [A6 + 0xC], D0
  5028. 00002F2E  6004                     bra        +0x6 /* 00002F34 */
  5029. label00002F30:
  5030. 00002F30  42AE 000C                clr.l      [A6 + 0xC]
  5031. label00002F34:
  5032. 00002F34  4CDF 1CE0                movem.l    D5,D6,D7,A2,A3,A4, [A7]+
  5033. 00002F38  4E5E                     unlink     A6
  5034. 00002F3A  2E9F                     move.l     [A7], [A7]+
  5035. 00002F3C  4E75                     rts
  5036. 00002F3E  8E49                     or.w       D7, A1
  5037. 00002F40  6E69                     bgt        +0x6B /* 00002FAB */
  5038. 00002F42  7452                     moveq.l    D2, 0x52
  5039. 00002F44  4F33 3634                .invalid   7, [A3 + D3.w * 8 + 0x34] // invalid opcode 4 with b == 4
  5040. 00002F48  5468 696E                addq.w     [A0 + 0x696E], 2
  5041. 00002F4C  6700 0000                beq        +0x2 /* 00002F4E */
  5042. // begin alternate branch 00002F4E-00002F56
  5043. label00002F4E:
  5044. 00002F4E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5045. 00002F52  0000 2F07                ori.b      D0, 0x7
  5046. // end alternate branch 00002F4E-00002F56
  5047. label00002F4E: // (misaligned)
  5048. 00002F50  4E56 0000                link       A6, 0
  5049. 00002F54  2F07                     move.l     -[A7], D7
  5050. 00002F56  7E01                     moveq.l    D7, 0x01
  5051. 00002F58  0C6E 0043 0008           cmpi.w     [A6 + 0x8], 0x43 /* 'C' */
  5052. 00002F5E  6E08                     bgt        +0xA /* 00002F68 */
  5053. 00002F60  0C6E FFFC 0008           cmpi.w     [A6 + 0x8], 0xFFFC
  5054. 00002F66  6C02                     bge        +0x4 /* 00002F6A */
  5055. label00002F68:
  5056. 00002F68  7E00                     moveq.l    D7, 0x00
  5057. label00002F6A:
  5058. 00002F6A  2D47 000A                move.l     [A6 + 0xA], D7
  5059. 00002F6E  2E1F                     move.l     D7, [A7]+
  5060. 00002F70  4E5E                     unlink     A6
  5061. 00002F72  205F                     movea.l    A0, [A7]+
  5062. 00002F74  548F                     addq.l     A7, 2
  5063. 00002F76  4ED0                     jmp        [A0]
  5064. 00002F78  8D43 616E                pack       D6, D3, 0x616E
  5065. 00002F7C  446F 5365                neg.w      [A7 + 0x5365]
  5066. 00002F80  6C65                     bge        +0x67 /* 00002FE7 */
  5067. 00002F82  6374                     bls        +0x76 /* 00002FF8 */
  5068. 00002F84  6F72                     ble        +0x74 /* 00002FF8 */
  5069. 00002F86  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5070. 00002F8A  0000 2D7C                ori.b      D0, 0x7C /* '|' */
  5071. 00002F8E  0002 000B                ori.b      D2, 0xB
  5072. 00002F92  0008 4E5E                ori.b      A0, 0x5E /* '^' */
  5073. 00002F96  4E75                     rts
  5074. 00002F98  8A47                     or.w       D5, D7
  5075. 00002F9A  6574                     bcs        +0x76 /* 00003010 */
  5076. 00002F9C  5665                     addq.w     -[A5], 3
  5077. 00002F9E  7273                     moveq.l    D1, 0x73
  5078. 00002FA0  696F                     bvs        +0x71 /* 00003011 */
  5079. 00002FA2  6E00 0000                bgt        +0x2 /* 00002FA4 */
  5080. // begin alternate branch 00002FA4-00002FAA
  5081. label00002FA4:
  5082. 00002FA4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5083. 00002FA8  FFFE                     .invalid   <<F/7/7>>
  5084. // end alternate branch 00002FA4-00002FAA
  5085. label00002FA4: // (misaligned)
  5086. 00002FA6  4E56 FFFE                link       A6, -0x0002
  5087. 00002FAA  2F0B                     move.l     -[A7], A3
  5088. 00002FAC  4AAE 000C                tst.l      [A6 + 0xC]
  5089. 00002FB0  6736                     beq        +0x38 /* 00002FE8 */
  5090. 00002FB2  206E 000C                movea.l    A0, [A6 + 0xC]
  5091. 00002FB6  2650                     movea.l    A3, [A0]
  5092. 00002FB8  4A2B 00C2                tst.b      [A3 + 0xC2]
  5093. 00002FBC  670C                     beq        +0xE /* 00002FCA */
  5094. 00002FBE  4267                     clr.w      -[A7]
  5095. 00002FC0  3F13                     move.w     -[A7], [A3]
  5096. 00002FC2  4EAD 0000                jsr        [A5 + 0x0]
  5097. 00002FC6  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  5098. label00002FCA:
  5099. 00002FCA  4AAB 00C4                tst.l      [A3 + 0xC4]
  5100. 00002FCE  6706                     beq        +0x8 /* 00002FD6 */
  5101. 00002FD0  206B 00C4                movea.l    A0, [A3 + 0xC4]
  5102. 00002FD4  A023                     syscall    DisposHandle/DisposeHandle
  5103. label00002FD6:
  5104. 00002FD6  206B 000C                movea.l    A0, [A3 + 0xC]
  5105. 00002FDA  A023                     syscall    DisposHandle/DisposeHandle
  5106. 00002FDC  206B 0010                movea.l    A0, [A3 + 0x10]
  5107. 00002FE0  A023                     syscall    DisposHandle/DisposeHandle
  5108. 00002FE2  206E 000C                movea.l    A0, [A6 + 0xC]
  5109. 00002FE6  A023                     syscall    DisposHandle/DisposeHandle
  5110. label00002FE8:
  5111. 00002FE8  42AE 0010                clr.l      [A6 + 0x10]
  5112. 00002FEC  265F                     movea.l    A3, [A7]+
  5113. 00002FEE  4E5E                     unlink     A6
  5114. 00002FF0  205F                     movea.l    A0, [A7]+
  5115. 00002FF2  508F                     addq.l     A7, 8
  5116. 00002FF4  4ED0                     jmp        [A0]
  5117. 00002FF6  8E45                     or.w       D7, D5
  5118. label00002FF8:
  5119. 00002FF8  7869                     moveq.l    D4, 0x69
  5120. 00002FFA  7452                     moveq.l    D2, 0x52
  5121. 00002FFC  4F33 3634                .invalid   7, [A3 + D3.w * 8 + 0x34] // invalid opcode 4 with b == 4
  5122. 00003000  5468 696E                addq.w     [A0 + 0x696E], 2
  5123. 00003004  6700 0000                beq        +0x2 /* 00003006 */
  5124. // begin alternate branch 00003006-0000300C
  5125. label00003006:
  5126. 00003006  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5127. fn00003008: // (misaligned)
  5128. 0000300A  FFCE                     .invalid   <<F/7/7>>
  5129. // end alternate branch 00003006-0000300C
  5130. label00003006: // (misaligned)
  5131. fn00003008:
  5132. 00003008  4E56 FFCE                link       A6, -0x0032
  5133. 0000300C  48E7 0118                movem.l    -[A7], D7,A3,A4
  5134. label00003010:
  5135. 00003010  286E 0008                movea.l    A4, [A6 + 0x8]
  5136. 00003014  7E00                     moveq.l    D7, 0x00
  5137. 00003016  206E 000E                movea.l    A0, [A6 + 0xE]
  5138. 0000301A  2650                     movea.l    A3, [A0]
  5139. 0000301C  4A2B 00C2                tst.b      [A3 + 0xC2]
  5140. 00003020  6738                     beq        +0x3A /* 0000305A */
  5141. 00003022  302B 00C0                move.w     D0, [A3 + 0xC0]
  5142. 00003026  6B2A                     bmi        +0x2C /* 00003052 */
  5143. 00003028  5740                     subq.w     D0, 3
  5144. 0000302A  6A26                     bpl        +0x28 /* 00003052 */
  5145. 0000302C  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5146. 00003030  3D7C 2344 FFE8           move.w     [A6 - 0x18], 0x2344 /* '#D' */
  5147. 00003036  4267                     clr.w      -[A7]
  5148. 00003038  486E FFCE                pea.l      [A6 - 0x32]
  5149. 0000303C  4227                     clr.b      -[A7]
  5150. 0000303E  4EAD 0000                jsr        [A5 + 0x0]
  5151. 00003042  3E1F                     move.w     D7, [A7]+
  5152. 00003044  48C7                     ext.l      D7
  5153. 00003046  28AE FFEA                move.l     [A4], [A6 - 0x16]
  5154. 0000304A  296E FFEE 0004           move.l     [A4 + 0x4], [A6 - 0x12]
  5155. 00003050  603A                     bra        +0x3C /* 0000308C */
  5156. label00003052:
  5157. 00003052  2E3C FFFF F766           move.l     D7, 0xFFFFF766
  5158. 00003058  6032                     bra        +0x34 /* 0000308C */
  5159. label0000305A:
  5160. 0000305A  4A6B 00C0                tst.w      [A3 + 0xC0]
  5161. 0000305E  6626                     bne        +0x28 /* 00003086 */
  5162. 00003060  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5163. 00003064  3D7C 2344 FFE8           move.w     [A6 - 0x18], 0x2344 /* '#D' */
  5164. 0000306A  4267                     clr.w      -[A7]
  5165. 0000306C  486E FFCE                pea.l      [A6 - 0x32]
  5166. 00003070  4227                     clr.b      -[A7]
  5167. 00003072  4EAD 0000                jsr        [A5 + 0x0]
  5168. 00003076  3E1F                     move.w     D7, [A7]+
  5169. 00003078  48C7                     ext.l      D7
  5170. 0000307A  28AE FFEA                move.l     [A4], [A6 - 0x16]
  5171. 0000307E  296E FFEE 0004           move.l     [A4 + 0x4], [A6 - 0x12]
  5172. 00003084  6006                     bra        +0x8 /* 0000308C */
  5173. label00003086:
  5174. 00003086  2E3C FFFF F766           move.l     D7, 0xFFFFF766
  5175. label0000308C:
  5176. 0000308C  4A87                     tst.l      D7
  5177. 0000308E  660A                     bne        +0xC /* 0000309A */
  5178. 00003090  2754 0014                move.l     [A3 + 0x14], [A4]
  5179. 00003094  276C 0004 0018           move.l     [A3 + 0x18], [A4 + 0x4]
  5180. label0000309A:
  5181. 0000309A  2D47 0012                move.l     [A6 + 0x12], D7
  5182. 0000309E  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  5183. 000030A2  4E5E                     unlink     A6
  5184. 000030A4  205F                     movea.l    A0, [A7]+
  5185. 000030A6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5186. 000030AA  4ED0                     jmp        [A0]
  5187. 000030AC  8D47 6574                pack       D6, D7, 0x6574
  5188. 000030B0  4D61                     chk.w      D6, -[A1]
  5189. 000030B2  7853                     moveq.l    D4, 0x53
  5190. 000030B4  7263                     moveq.l    D1, 0x63
  5191. 000030B6  5265                     addq.w     -[A5], 1
  5192. 000030B8  6374                     bls        +0x76 /* 0000312E */
  5193. 000030BA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5194. 000030BE  0000 48E7                ori.b      D0, 0xE7
  5195. 000030C2  0118                     btst       [A0]+, D0
  5196. 000030C4  286E 0008                movea.l    A4, [A6 + 0x8]
  5197. 000030C8  7E00                     moveq.l    D7, 0x00
  5198. 000030CA  206E 000E                movea.l    A0, [A6 + 0xE]
  5199. 000030CE  2650                     movea.l    A3, [A0]
  5200. 000030D0  4A2B 00C2                tst.b      [A3 + 0xC2]
  5201. 000030D4  6766                     beq        +0x68 /* 0000313C */
  5202. 000030D6  302B 00C0                move.w     D0, [A3 + 0xC0]
  5203. 000030DA  6708                     beq        +0xA /* 000030E4 */
  5204. 000030DC  6B56                     bmi        +0x58 /* 00003134 */
  5205. 000030DE  5740                     subq.w     D0, 3
  5206. 000030E0  6A52                     bpl        +0x54 /* 00003134 */
  5207. 000030E2  6028                     bra        +0x2A /* 0000310C */
  5208. label000030E4:
  5209. 000030E4  7014                     moveq.l    D0, 0x14
  5210. 000030E6  D06B 0014                add.w      D0, [A3 + 0x14]
  5211. 000030EA  3880                     move.w     [A4], D0
  5212. 000030EC  7036                     moveq.l    D0, 0x36
  5213. 000030EE  D06B 0016                add.w      D0, [A3 + 0x16]
  5214. 000030F2  3940 0002                move.w     [A4 + 0x2], D0
  5215. 000030F6  70F8                     moveq.l    D0, 0xFFFFFFF8
  5216. 000030F8  D06B 0018                add.w      D0, [A3 + 0x18]
  5217. 000030FC  3940 0004                move.w     [A4 + 0x4], D0
  5218. 00003100  70F9                     moveq.l    D0, 0xFFFFFFF9
  5219. 00003102  D06B 001A                add.w      D0, [A3 + 0x1A]
  5220. 00003106  3940 0006                move.w     [A4 + 0x6], D0
  5221. 0000310A  6064                     bra        +0x66 /* 00003170 */
  5222. label0000310C:
  5223. 0000310C  7014                     moveq.l    D0, 0x14
  5224. 0000310E  D06B 0014                add.w      D0, [A3 + 0x14]
  5225. 00003112  3880                     move.w     [A4], D0
  5226. 00003114  703E                     moveq.l    D0, 0x3E
  5227. 00003116  D06B 0016                add.w      D0, [A3 + 0x16]
  5228. 0000311A  3940 0002                move.w     [A4 + 0x2], D0
  5229. 0000311E  70F4                     moveq.l    D0, 0xFFFFFFF4
  5230. 00003120  D06B 0018                add.w      D0, [A3 + 0x18]
  5231. 00003124  3940 0004                move.w     [A4 + 0x4], D0
  5232. 00003128  70E8                     moveq.l    D0, 0xFFFFFFE8
  5233. 0000312A  D06B 001A                add.w      D0, [A3 + 0x1A]
  5234. label0000312E:
  5235. 0000312E  3940 0006                move.w     [A4 + 0x6], D0
  5236. 00003132  603C                     bra        +0x3E /* 00003170 */
  5237. label00003134:
  5238. 00003134  2E3C FFFF F766           move.l     D7, 0xFFFFF766
  5239. 0000313A  6034                     bra        +0x36 /* 00003170 */
  5240. label0000313C:
  5241. 0000313C  4A6B 00C0                tst.w      [A3 + 0xC0]
  5242. 00003140  6628                     bne        +0x2A /* 0000316A */
  5243. 00003142  700A                     moveq.l    D0, 0x0A
  5244. 00003144  D06B 0014                add.w      D0, [A3 + 0x14]
  5245. 00003148  3880                     move.w     [A4], D0
  5246. 0000314A  7006                     moveq.l    D0, 0x06
  5247. 0000314C  D06B 0016                add.w      D0, [A3 + 0x16]
  5248. 00003150  3940 0002                move.w     [A4 + 0x2], D0
  5249. 00003154  70F6                     moveq.l    D0, 0xFFFFFFF6
  5250. 00003156  D06B 0018                add.w      D0, [A3 + 0x18]
  5251. 0000315A  3940 0004                move.w     [A4 + 0x4], D0
  5252. 0000315E  70F8                     moveq.l    D0, 0xFFFFFFF8
  5253. 00003160  D06B 001A                add.w      D0, [A3 + 0x1A]
  5254. 00003164  3940 0006                move.w     [A4 + 0x6], D0
  5255. 00003168  6006                     bra        +0x8 /* 00003170 */
  5256. label0000316A:
  5257. 0000316A  2E3C FFFF F766           move.l     D7, 0xFFFFF766
  5258. label00003170:
  5259. 00003170  4A87                     tst.l      D7
  5260. 00003172  660A                     bne        +0xC /* 0000317E */
  5261. 00003174  2754 001C                move.l     [A3 + 0x1C], [A4]
  5262. 00003178  276C 0004 0020           move.l     [A3 + 0x20], [A4 + 0x4]
  5263. label0000317E:
  5264. 0000317E  2D47 0012                move.l     [A6 + 0x12], D7
  5265. 00003182  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  5266. 00003186  4E5E                     unlink     A6
  5267. 00003188  205F                     movea.l    A0, [A7]+
  5268. 0000318A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5269. 0000318E  4ED0                     jmp        [A0]
  5270. 00003190  9047                     sub.w      D0, D7
  5271. 00003192  6574                     bcs        +0x76 /* 00003208 */
  5272. 00003194  4163                     chk.w      D0, -[A3]
  5273. 00003196  7469                     moveq.l    D2, 0x69
  5274. 00003198  7665                     moveq.l    D3, 0x65
  5275. 0000319A  5372 6352 6563           subq.w     [[A2] + 0x6563], 1
  5276. 000031A0  7400                     moveq.l    D2, 0x00
  5277. 000031A2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5278. 000031A6  0000 48E7                ori.b      D0, 0xE7
  5279. 000031AA  0118                     btst       [A0]+, D0
  5280. 000031AC  286E 0008                movea.l    A4, [A6 + 0x8]
  5281. 000031B0  7E00                     moveq.l    D7, 0x00
  5282. 000031B2  206E 000E                movea.l    A0, [A6 + 0xE]
  5283. 000031B6  2650                     movea.l    A3, [A0]
  5284. 000031B8  4A6B 00C0                tst.w      [A3 + 0xC0]
  5285. 000031BC  6710                     beq        +0x12 /* 000031CE */
  5286. 000031BE  0C6B 0001 00C0           cmpi.w     [A3 + 0xC0], 0x1
  5287. 000031C4  6708                     beq        +0xA /* 000031CE */
  5288. 000031C6  0C6B 0002 00C0           cmpi.w     [A3 + 0xC0], 0x2
  5289. 000031CC  6634                     bne        +0x36 /* 00003202 */
  5290. label000031CE:
  5291. 000031CE  206E 000E                movea.l    A0, [A6 + 0xE]
  5292. 000031D2  2650                     movea.l    A3, [A0]
  5293. 000031D4  38AB 0014                move.w     [A4], [A3 + 0x14]
  5294. 000031D8  700A                     moveq.l    D0, 0x0A
  5295. 000031DA  D06B 0016                add.w      D0, [A3 + 0x16]
  5296. 000031DE  3940 0002                move.w     [A4 + 0x2], D0
  5297. 000031E2  700A                     moveq.l    D0, 0x0A
  5298. 000031E4  D06B 0014                add.w      D0, [A3 + 0x14]
  5299. 000031E8  3940 0004                move.w     [A4 + 0x4], D0
  5300. 000031EC  70F6                     moveq.l    D0, 0xFFFFFFF6
  5301. 000031EE  D06B 001A                add.w      D0, [A3 + 0x1A]
  5302. 000031F2  3940 0006                move.w     [A4 + 0x6], D0
  5303. 000031F6  2754 0024                move.l     [A3 + 0x24], [A4]
  5304. 000031FA  276C 0004 0028           move.l     [A3 + 0x28], [A4 + 0x4]
  5305. 00003200  6006                     bra        +0x8 /* 00003208 */
  5306. label00003202:
  5307. 00003202  2E3C FFFF F766           move.l     D7, 0xFFFFF766
  5308. label00003208:
  5309. 00003208  2D47 0012                move.l     [A6 + 0x12], D7
  5310. 0000320C  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  5311. 00003210  4E5E                     unlink     A6
  5312. 00003212  205F                     movea.l    A0, [A7]+
  5313. 00003214  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5314. 00003218  4ED0                     jmp        [A0]
  5315. 0000321A  8D47 6574                pack       D6, D7, 0x6574
  5316. 0000321E  5642                     addq.w     D2, 3
  5317. 00003220  6C61                     bge        +0x63 /* 00003283 */
  5318. 00003222  6E6B                     bgt        +0x6D /* 0000328F */
  5319. 00003224  5265                     addq.w     -[A5], 1
  5320. 00003226  6374                     bls        +0x76 /* 0000329C */
  5321. 00003228  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5322. 0000322C  0000 48E7                ori.b      D0, 0xE7
  5323. 00003230  0108                     btst       A0, D0
  5324. 00003232  7E00                     moveq.l    D7, 0x00
  5325. 00003234  206E 000C                movea.l    A0, [A6 + 0xC]
  5326. 00003238  2850                     movea.l    A4, [A0]
  5327. 0000323A  226E 0008                movea.l    A1, [A6 + 0x8]
  5328. 0000323E  2951 002C                move.l     [A4 + 0x2C], [A1]
  5329. 00003242  2969 0004 0030           move.l     [A4 + 0x30], [A1 + 0x4]
  5330. 00003248  302C 002C                move.w     D0, [A4 + 0x2C]
  5331. 0000324C  48C0                     ext.l      D0
  5332. 0000324E  81FC 0002                divs.w     D0, 0x2
  5333. 00003252  4840                     swap.w     D0
  5334. 00003254  4A40                     tst.w      D0
  5335. 00003256  670A                     beq        +0xC /* 00003262 */
  5336. 00003258  7001                     moveq.l    D0, 0x01
  5337. 0000325A  D06C 002C                add.w      D0, [A4 + 0x2C]
  5338. 0000325E  3940 002C                move.w     [A4 + 0x2C], D0
  5339. label00003262:
  5340. 00003262  302C 0030                move.w     D0, [A4 + 0x30]
  5341. 00003266  48C0                     ext.l      D0
  5342. 00003268  81FC 0002                divs.w     D0, 0x2
  5343. 0000326C  4840                     swap.w     D0
  5344. 0000326E  4A40                     tst.w      D0
  5345. 00003270  670A                     beq        +0xC /* 0000327C */
  5346. 00003272  7001                     moveq.l    D0, 0x01
  5347. 00003274  D06C 0030                add.w      D0, [A4 + 0x30]
  5348. 00003278  3940 0030                move.w     [A4 + 0x30], D0
  5349. label0000327C:
  5350. 0000327C  2D47 0010                move.l     [A6 + 0x10], D7
  5351. 00003280  4CDF 1080                movem.l    D7,A4, [A7]+
  5352. 00003284  4E5E                     unlink     A6
  5353. 00003286  205F                     movea.l    A0, [A7]+
  5354. 00003288  508F                     addq.l     A7, 8
  5355. 0000328A  4ED0                     jmp        [A0]
  5356. 0000328C  9053                     sub.w      D0, [A3]
  5357. 0000328E  6574                     bcs        +0x76 /* 00003304 */
  5358. 00003290  4469 6769                neg.w      [A1 + 0x6769]
  5359. 00003294  7469                     moveq.l    D2, 0x69
  5360. 00003296  7A65                     moveq.l    D5, 0x65
  5361. 00003298  7252                     moveq.l    D1, 0x52
  5362. 0000329A  6563                     bcs        +0x65 /* 000032FF */
  5363. label0000329C:
  5364. 0000329C  7400                     moveq.l    D2, 0x00
  5365. 0000329E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5366. 000032A2  0000 48E7                ori.b      D0, 0xE7
  5367. 000032A6  0108                     btst       A0, D0
  5368. 000032A8  7E00                     moveq.l    D7, 0x00
  5369. 000032AA  206E 000C                movea.l    A0, [A6 + 0xC]
  5370. 000032AE  2850                     movea.l    A4, [A0]
  5371. 000032B0  226E 0008                movea.l    A1, [A6 + 0x8]
  5372. 000032B4  22AC 002C                move.l     [A1], [A4 + 0x2C]
  5373. 000032B8  236C 0030 0004           move.l     [A1 + 0x4], [A4 + 0x30]
  5374. 000032BE  2D47 0010                move.l     [A6 + 0x10], D7
  5375. 000032C2  4CDF 1080                movem.l    D7,A4, [A7]+
  5376. 000032C6  4E5E                     unlink     A6
  5377. 000032C8  205F                     movea.l    A0, [A7]+
  5378. 000032CA  508F                     addq.l     A7, 8
  5379. 000032CC  4ED0                     jmp        [A0]
  5380. 000032CE  9047                     sub.w      D0, D7
  5381. 000032D0  6574                     bcs        +0x76 /* 00003346 */
  5382. 000032D2  4469 6769                neg.w      [A1 + 0x6769]
  5383. 000032D6  7469                     moveq.l    D2, 0x69
  5384. 000032D8  7A65                     moveq.l    D5, 0x65
  5385. 000032DA  7252                     moveq.l    D1, 0x52
  5386. 000032DC  6563                     bcs        +0x65 /* 00003341 */
  5387. 000032DE  7400                     moveq.l    D2, 0x00
  5388. 000032E0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5389. 000032E4  FFCE                     .invalid   <<F/7/7>>
  5390. 000032E6  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5391. 000032EA  286E 0008                movea.l    A4, [A6 + 0x8]
  5392. 000032EE  7E00                     moveq.l    D7, 0x00
  5393. 000032F0  206E 000C                movea.l    A0, [A6 + 0xC]
  5394. 000032F4  2650                     movea.l    A3, [A0]
  5395. 000032F6  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5396. 000032FA  3D7C 2331 FFE8           move.w     [A6 - 0x18], 0x2331 /* '#1' */
  5397. 00003300  7000                     moveq.l    D0, 0x00
  5398. 00003302  3014                     move.w     D0, [A4]
  5399. label00003304:
  5400. 00003304  80FC 0410                divu.w     D0, 0x410
  5401. 00003308  3D40 FFEA                move.w     [A6 - 0x16], D0
  5402. 0000330C  4267                     clr.w      -[A7]
  5403. 0000330E  486E FFCE                pea.l      [A6 - 0x32]
  5404. 00003312  4227                     clr.b      -[A7]
  5405. 00003314  4EAD 0000                jsr        [A5 + 0x0]
  5406. 00003318  3E1F                     move.w     D7, [A7]+
  5407. 0000331A  48C7                     ext.l      D7
  5408. 0000331C  4A87                     tst.l      D7
  5409. 0000331E  6618                     bne        +0x1A /* 00003338 */
  5410. 00003320  3754 0074                move.w     [A3 + 0x74], [A4]
  5411. 00003324  7C00                     moveq.l    D6, 0x00
  5412. 00003326  3C14                     move.w     D6, [A4]
  5413. 00003328  8CFC 0410                divu.w     D6, 0x410
  5414. 0000332C  4846                     swap.w     D6
  5415. 0000332E  4A46                     tst.w      D6
  5416. 00003330  6706                     beq        +0x8 /* 00003338 */
  5417. 00003332  3014                     move.w     D0, [A4]
  5418. 00003334  9046                     sub.w      D0, D6
  5419. 00003336  3880                     move.w     [A4], D0
  5420. label00003338:
  5421. 00003338  2D47 0010                move.l     [A6 + 0x10], D7
  5422. 0000333C  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5423. 00003340  4E5E                     unlink     A6
  5424. 00003342  205F                     movea.l    A0, [A7]+
  5425. 00003344  508F                     addq.l     A7, 8
  5426. label00003346:
  5427. 00003346  4ED0                     jmp        [A0]
  5428. 00003348  8B53                     or.w       [A3], D5
  5429. 0000334A  6574                     bcs        +0x76 /* 000033C0 */
  5430. 0000334C  436F 6E74                chk.w      D1, [A7 + 0x6E74]
  5431. 00003350  7261                     moveq.l    D1, 0x61
  5432. 00003352  7374                     moveq.l    D1, 0x74
  5433. 00003354  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5434. 00003358  FFCE                     .invalid   <<F/7/7>>
  5435. 0000335A  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5436. 0000335E  286E 0008                movea.l    A4, [A6 + 0x8]
  5437. 00003362  7E00                     moveq.l    D7, 0x00
  5438. 00003364  206E 000C                movea.l    A0, [A6 + 0xC]
  5439. 00003368  2650                     movea.l    A3, [A0]
  5440. 0000336A  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5441. 0000336E  3D7C 232E FFE8           move.w     [A6 - 0x18], 0x232E /* '#.' */
  5442. 00003374  7000                     moveq.l    D0, 0x00
  5443. 00003376  3014                     move.w     D0, [A4]
  5444. 00003378  80FC 0410                divu.w     D0, 0x410
  5445. 0000337C  3D40 FFEA                move.w     [A6 - 0x16], D0
  5446. 00003380  4267                     clr.w      -[A7]
  5447. 00003382  486E FFCE                pea.l      [A6 - 0x32]
  5448. 00003386  4227                     clr.b      -[A7]
  5449. 00003388  4EAD 0000                jsr        [A5 + 0x0]
  5450. 0000338C  3E1F                     move.w     D7, [A7]+
  5451. 0000338E  48C7                     ext.l      D7
  5452. 00003390  4A87                     tst.l      D7
  5453. 00003392  6618                     bne        +0x1A /* 000033AC */
  5454. 00003394  3754 0076                move.w     [A3 + 0x76], [A4]
  5455. 00003398  7C00                     moveq.l    D6, 0x00
  5456. 0000339A  3C14                     move.w     D6, [A4]
  5457. 0000339C  8CFC 0410                divu.w     D6, 0x410
  5458. 000033A0  4846                     swap.w     D6
  5459. 000033A2  4A46                     tst.w      D6
  5460. 000033A4  6706                     beq        +0x8 /* 000033AC */
  5461. 000033A6  3014                     move.w     D0, [A4]
  5462. 000033A8  9046                     sub.w      D0, D6
  5463. 000033AA  3880                     move.w     [A4], D0
  5464. label000033AC:
  5465. 000033AC  2D47 0010                move.l     [A6 + 0x10], D7
  5466. 000033B0  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5467. 000033B4  4E5E                     unlink     A6
  5468. 000033B6  205F                     movea.l    A0, [A7]+
  5469. 000033B8  508F                     addq.l     A7, 8
  5470. 000033BA  4ED0                     jmp        [A0]
  5471. 000033BC  8653                     or.w       D3, [A3]
  5472. 000033BE  6574                     bcs        +0x76 /* 00003434 */
  5473. label000033C0:
  5474. 000033C0  4875 6500                pea.l      [A5 + <<invalid base displacement size>> + D6 * 4]
  5475. 000033C4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5476. 000033C8  FFCE                     .invalid   <<F/7/7>>
  5477. 000033CA  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5478. 000033CE  286E 0008                movea.l    A4, [A6 + 0x8]
  5479. 000033D2  7E00                     moveq.l    D7, 0x00
  5480. 000033D4  206E 000C                movea.l    A0, [A6 + 0xC]
  5481. 000033D8  2650                     movea.l    A3, [A0]
  5482. 000033DA  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5483. 000033DE  3D7C 2330 FFE8           move.w     [A6 - 0x18], 0x2330 /* '#0' */
  5484. 000033E4  7000                     moveq.l    D0, 0x00
  5485. 000033E6  3014                     move.w     D0, [A4]
  5486. 000033E8  80FC 0410                divu.w     D0, 0x410
  5487. 000033EC  3D40 FFEA                move.w     [A6 - 0x16], D0
  5488. 000033F0  4267                     clr.w      -[A7]
  5489. 000033F2  486E FFCE                pea.l      [A6 - 0x32]
  5490. 000033F6  4227                     clr.b      -[A7]
  5491. 000033F8  4EAD 0000                jsr        [A5 + 0x0]
  5492. 000033FC  3E1F                     move.w     D7, [A7]+
  5493. 000033FE  48C7                     ext.l      D7
  5494. 00003400  4A87                     tst.l      D7
  5495. 00003402  6618                     bne        +0x1A /* 0000341C */
  5496. 00003404  3754 0078                move.w     [A3 + 0x78], [A4]
  5497. 00003408  7C00                     moveq.l    D6, 0x00
  5498. 0000340A  3C14                     move.w     D6, [A4]
  5499. 0000340C  8CFC 0410                divu.w     D6, 0x410
  5500. 00003410  4846                     swap.w     D6
  5501. 00003412  4A46                     tst.w      D6
  5502. 00003414  6706                     beq        +0x8 /* 0000341C */
  5503. 00003416  3014                     move.w     D0, [A4]
  5504. 00003418  9046                     sub.w      D0, D6
  5505. 0000341A  3880                     move.w     [A4], D0
  5506. label0000341C:
  5507. 0000341C  2D47 0010                move.l     [A6 + 0x10], D7
  5508. 00003420  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5509. 00003424  4E5E                     unlink     A6
  5510. 00003426  205F                     movea.l    A0, [A7]+
  5511. 00003428  508F                     addq.l     A7, 8
  5512. 0000342A  4ED0                     jmp        [A0]
  5513. 0000342C  8D53                     or.w       [A3], D6
  5514. 0000342E  6574                     bcs        +0x76 /* 000034A4 */
  5515. 00003430  4272 6967                clr.w      <<invalid full ext with IS == 1 and I/IS == 7>>
  5516. label00003434:
  5517. 00003434  6874                     bvc        +0x76 /* 000034AA */
  5518. 00003436  6E65                     bgt        +0x67 /* 0000349D */
  5519. 00003438  7373                     moveq.l    D1, 0x73
  5520. 0000343A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5521. 0000343E  FFCE                     .invalid   <<F/7/7>>
  5522. 00003440  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5523. 00003444  286E 0008                movea.l    A4, [A6 + 0x8]
  5524. 00003448  7E00                     moveq.l    D7, 0x00
  5525. 0000344A  206E 000C                movea.l    A0, [A6 + 0xC]
  5526. 0000344E  2650                     movea.l    A3, [A0]
  5527. 00003450  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5528. 00003454  3D7C 232F FFE8           move.w     [A6 - 0x18], 0x232F /* '#/' */
  5529. 0000345A  7000                     moveq.l    D0, 0x00
  5530. 0000345C  3014                     move.w     D0, [A4]
  5531. 0000345E  80FC 0410                divu.w     D0, 0x410
  5532. 00003462  3D40 FFEA                move.w     [A6 - 0x16], D0
  5533. 00003466  4267                     clr.w      -[A7]
  5534. 00003468  486E FFCE                pea.l      [A6 - 0x32]
  5535. 0000346C  4227                     clr.b      -[A7]
  5536. 0000346E  4EAD 0000                jsr        [A5 + 0x0]
  5537. 00003472  3E1F                     move.w     D7, [A7]+
  5538. 00003474  48C7                     ext.l      D7
  5539. 00003476  4A87                     tst.l      D7
  5540. 00003478  6618                     bne        +0x1A /* 00003492 */
  5541. 0000347A  3754 007A                move.w     [A3 + 0x7A], [A4]
  5542. 0000347E  7C00                     moveq.l    D6, 0x00
  5543. 00003480  3C14                     move.w     D6, [A4]
  5544. 00003482  8CFC 0410                divu.w     D6, 0x410
  5545. 00003486  4846                     swap.w     D6
  5546. 00003488  4A46                     tst.w      D6
  5547. 0000348A  6706                     beq        +0x8 /* 00003492 */
  5548. 0000348C  3014                     move.w     D0, [A4]
  5549. 0000348E  9046                     sub.w      D0, D6
  5550. 00003490  3880                     move.w     [A4], D0
  5551. label00003492:
  5552. 00003492  2D47 0010                move.l     [A6 + 0x10], D7
  5553. 00003496  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5554. 0000349A  4E5E                     unlink     A6
  5555. 0000349C  205F                     movea.l    A0, [A7]+
  5556. 0000349E  508F                     addq.l     A7, 8
  5557. 000034A0  4ED0                     jmp        [A0]
  5558. 000034A2  8D53                     or.w       [A3], D6
  5559. label000034A4:
  5560. 000034A4  6574                     bcs        +0x76 /* 0000351A */
  5561. 000034A6  5361                     subq.w     -[A1], 1
  5562. 000034A8  7475                     moveq.l    D2, 0x75
  5563. label000034AA:
  5564. 000034AA  7261                     moveq.l    D1, 0x61
  5565. 000034AC  7469                     moveq.l    D2, 0x69
  5566. 000034AE  6F6E                     ble        +0x70 /* 0000351E */
  5567. 000034B0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5568. 000034B4  FFCE                     .invalid   <<F/7/7>>
  5569. 000034B6  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5570. 000034BA  286E 0008                movea.l    A4, [A6 + 0x8]
  5571. 000034BE  7E00                     moveq.l    D7, 0x00
  5572. 000034C0  206E 000C                movea.l    A0, [A6 + 0xC]
  5573. 000034C4  2650                     movea.l    A3, [A0]
  5574. 000034C6  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5575. 000034CA  3D7C 2333 FFE8           move.w     [A6 - 0x18], 0x2333 /* '#3' */
  5576. 000034D0  7000                     moveq.l    D0, 0x00
  5577. 000034D2  3014                     move.w     D0, [A4]
  5578. 000034D4  80FC 0410                divu.w     D0, 0x410
  5579. 000034D8  3D40 FFEA                move.w     [A6 - 0x16], D0
  5580. 000034DC  4267                     clr.w      -[A7]
  5581. 000034DE  486E FFCE                pea.l      [A6 - 0x32]
  5582. 000034E2  4227                     clr.b      -[A7]
  5583. 000034E4  4EAD 0000                jsr        [A5 + 0x0]
  5584. 000034E8  3E1F                     move.w     D7, [A7]+
  5585. 000034EA  48C7                     ext.l      D7
  5586. 000034EC  4A87                     tst.l      D7
  5587. 000034EE  6618                     bne        +0x1A /* 00003508 */
  5588. 000034F0  3754 007C                move.w     [A3 + 0x7C], [A4]
  5589. 000034F4  7C00                     moveq.l    D6, 0x00
  5590. 000034F6  3C14                     move.w     D6, [A4]
  5591. 000034F8  8CFC 0410                divu.w     D6, 0x410
  5592. 000034FC  4846                     swap.w     D6
  5593. 000034FE  4A46                     tst.w      D6
  5594. 00003500  6706                     beq        +0x8 /* 00003508 */
  5595. 00003502  3014                     move.w     D0, [A4]
  5596. 00003504  9046                     sub.w      D0, D6
  5597. 00003506  3880                     move.w     [A4], D0
  5598. label00003508:
  5599. 00003508  2D47 0010                move.l     [A6 + 0x10], D7
  5600. 0000350C  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5601. 00003510  4E5E                     unlink     A6
  5602. 00003512  205F                     movea.l    A0, [A7]+
  5603. 00003514  508F                     addq.l     A7, 8
  5604. 00003516  4ED0                     jmp        [A0]
  5605. 00003518  8D53                     or.w       [A3], D6
  5606. label0000351A:
  5607. 0000351A  6574                     bcs        +0x76 /* 00003590 */
  5608. 0000351C  426C 6163                clr.w      [A4 + 0x6163]
  5609. // begin alternate branch 0000351E-00003520
  5610. label0000351E:
  5611. 0000351E  6163                     bsr        +0x65 /* 00003583 */
  5612. // end alternate branch 0000351E-00003520
  5613. label0000351E: // (misaligned)
  5614. 00003520  6B4C                     bmi        +0x4E /* 0000356E */
  5615. 00003522  6576                     bcs        +0x78 /* 0000359A */
  5616. 00003524  656C                     bcs        +0x6E /* 00003592 */
  5617. 00003526  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5618. 0000352A  FFCE                     .invalid   <<F/7/7>>
  5619. 0000352C  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5620. 00003530  286E 0008                movea.l    A4, [A6 + 0x8]
  5621. 00003534  7E00                     moveq.l    D7, 0x00
  5622. 00003536  206E 000C                movea.l    A0, [A6 + 0xC]
  5623. 0000353A  2650                     movea.l    A3, [A0]
  5624. 0000353C  3D53 FFE6                move.w     [A6 - 0x1A], [A3]
  5625. 00003540  3D7C 2332 FFE8           move.w     [A6 - 0x18], 0x2332 /* '#2' */
  5626. 00003546  7000                     moveq.l    D0, 0x00
  5627. 00003548  3014                     move.w     D0, [A4]
  5628. 0000354A  80FC 0410                divu.w     D0, 0x410
  5629. 0000354E  3D40 FFEA                move.w     [A6 - 0x16], D0
  5630. 00003552  4267                     clr.w      -[A7]
  5631. 00003554  486E FFCE                pea.l      [A6 - 0x32]
  5632. 00003558  4227                     clr.b      -[A7]
  5633. 0000355A  4EAD 0000                jsr        [A5 + 0x0]
  5634. 0000355E  3E1F                     move.w     D7, [A7]+
  5635. 00003560  48C7                     ext.l      D7
  5636. 00003562  4A87                     tst.l      D7
  5637. 00003564  6618                     bne        +0x1A /* 0000357E */
  5638. 00003566  3754 007E                move.w     [A3 + 0x7E], [A4]
  5639. 0000356A  7C00                     moveq.l    D6, 0x00
  5640. 0000356C  3C14                     move.w     D6, [A4]
  5641. label0000356E:
  5642. 0000356E  8CFC 0410                divu.w     D6, 0x410
  5643. 00003572  4846                     swap.w     D6
  5644. 00003574  4A46                     tst.w      D6
  5645. 00003576  6706                     beq        +0x8 /* 0000357E */
  5646. 00003578  3014                     move.w     D0, [A4]
  5647. 0000357A  9046                     sub.w      D0, D6
  5648. 0000357C  3880                     move.w     [A4], D0
  5649. label0000357E:
  5650. 0000357E  2D47 0010                move.l     [A6 + 0x10], D7
  5651. 00003582  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5652. 00003586  4E5E                     unlink     A6
  5653. 00003588  205F                     movea.l    A0, [A7]+
  5654. 0000358A  508F                     addq.l     A7, 8
  5655. 0000358C  4ED0                     jmp        [A0]
  5656. 0000358E  8D53                     or.w       [A3], D6
  5657. label00003590:
  5658. 00003590  6574                     bcs        +0x76 /* 00003606 */
  5659. label00003592:
  5660. 00003592  5768 6974                subq.w     [A0 + 0x6974], 3
  5661. 00003596  654C                     bcs        +0x4E /* 000035E4 */
  5662. 00003598  6576                     bcs        +0x78 /* 00003610 */
  5663. label0000359A:
  5664. 0000359A  656C                     bcs        +0x6E /* 00003608 */
  5665. 0000359C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5666. 000035A0  0000 48E7                ori.b      D0, 0xE7
  5667. 000035A4  0108                     btst       A0, D0
  5668. 000035A6  7E00                     moveq.l    D7, 0x00
  5669. 000035A8  206E 000C                movea.l    A0, [A6 + 0xC]
  5670. 000035AC  2850                     movea.l    A4, [A0]
  5671. 000035AE  226E 0008                movea.l    A1, [A6 + 0x8]
  5672. 000035B2  32AC 0074                move.w     [A1], [A4 + 0x74]
  5673. 000035B6  2D47 0010                move.l     [A6 + 0x10], D7
  5674. 000035BA  4CDF 1080                movem.l    D7,A4, [A7]+
  5675. 000035BE  4E5E                     unlink     A6
  5676. 000035C0  205F                     movea.l    A0, [A7]+
  5677. 000035C2  508F                     addq.l     A7, 8
  5678. 000035C4  4ED0                     jmp        [A0]
  5679. 000035C6  8B47 6574                pack       D5, D7, 0x6574
  5680. 000035CA  436F 6E74                chk.w      D1, [A7 + 0x6E74]
  5681. 000035CE  7261                     moveq.l    D1, 0x61
  5682. 000035D0  7374                     moveq.l    D1, 0x74
  5683. 000035D2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5684. 000035D6  0000 48E7                ori.b      D0, 0xE7
  5685. 000035DA  0108                     btst       A0, D0
  5686. 000035DC  7E00                     moveq.l    D7, 0x00
  5687. 000035DE  206E 000C                movea.l    A0, [A6 + 0xC]
  5688. 000035E2  2850                     movea.l    A4, [A0]
  5689. label000035E4:
  5690. 000035E4  226E 0008                movea.l    A1, [A6 + 0x8]
  5691. 000035E8  32AC 0076                move.w     [A1], [A4 + 0x76]
  5692. 000035EC  2D47 0010                move.l     [A6 + 0x10], D7
  5693. 000035F0  4CDF 1080                movem.l    D7,A4, [A7]+
  5694. 000035F4  4E5E                     unlink     A6
  5695. 000035F6  205F                     movea.l    A0, [A7]+
  5696. 000035F8  508F                     addq.l     A7, 8
  5697. 000035FA  4ED0                     jmp        [A0]
  5698. 000035FC  8647                     or.w       D3, D7
  5699. 000035FE  6574                     bcs        +0x76 /* 00003674 */
  5700. 00003600  4875 6500                pea.l      [A5 + <<invalid base displacement size>> + D6 * 4]
  5701. 00003604  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5702. // begin alternate branch 00003606-0000360E
  5703. label00003606:
  5704. 00003606  4E56 0000                link       A6, 0
  5705. label00003608: // (misaligned)
  5706. 0000360A  48E7 0108                movem.l    -[A7], D7,A4
  5707. // end alternate branch 00003606-0000360E
  5708. label00003606: // (misaligned)
  5709. label00003608:
  5710. 00003608  0000 48E7                ori.b      D0, 0xE7
  5711. 0000360C  0108                     btst       A0, D0
  5712. 0000360E  7E00                     moveq.l    D7, 0x00
  5713. label00003610:
  5714. 00003610  206E 000C                movea.l    A0, [A6 + 0xC]
  5715. 00003614  2850                     movea.l    A4, [A0]
  5716. 00003616  226E 0008                movea.l    A1, [A6 + 0x8]
  5717. 0000361A  32AC 0078                move.w     [A1], [A4 + 0x78]
  5718. 0000361E  2D47 0010                move.l     [A6 + 0x10], D7
  5719. 00003622  4CDF 1080                movem.l    D7,A4, [A7]+
  5720. 00003626  4E5E                     unlink     A6
  5721. 00003628  205F                     movea.l    A0, [A7]+
  5722. 0000362A  508F                     addq.l     A7, 8
  5723. 0000362C  4ED0                     jmp        [A0]
  5724. 0000362E  8D47 6574                pack       D6, D7, 0x6574
  5725. 00003632  4272 6967                clr.w      <<invalid full ext with IS == 1 and I/IS == 7>>
  5726. 00003636  6874                     bvc        +0x76 /* 000036AC */
  5727. 00003638  6E65                     bgt        +0x67 /* 0000369F */
  5728. 0000363A  7373                     moveq.l    D1, 0x73
  5729. 0000363C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5730. 00003640  0000 48E7                ori.b      D0, 0xE7
  5731. 00003644  0108                     btst       A0, D0
  5732. 00003646  7E00                     moveq.l    D7, 0x00
  5733. 00003648  206E 000C                movea.l    A0, [A6 + 0xC]
  5734. 0000364C  2850                     movea.l    A4, [A0]
  5735. 0000364E  226E 0008                movea.l    A1, [A6 + 0x8]
  5736. 00003652  32AC 007A                move.w     [A1], [A4 + 0x7A]
  5737. 00003656  2D47 0010                move.l     [A6 + 0x10], D7
  5738. 0000365A  4CDF 1080                movem.l    D7,A4, [A7]+
  5739. 0000365E  4E5E                     unlink     A6
  5740. 00003660  205F                     movea.l    A0, [A7]+
  5741. 00003662  508F                     addq.l     A7, 8
  5742. 00003664  4ED0                     jmp        [A0]
  5743. 00003666  8D47 6574                pack       D6, D7, 0x6574
  5744. 0000366A  5361                     subq.w     -[A1], 1
  5745. 0000366C  7475                     moveq.l    D2, 0x75
  5746. 0000366E  7261                     moveq.l    D1, 0x61
  5747. 00003670  7469                     moveq.l    D2, 0x69
  5748. 00003672  6F6E                     ble        +0x70 /* 000036E2 */
  5749. label00003674:
  5750. 00003674  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5751. 00003678  0000 48E7                ori.b      D0, 0xE7
  5752. 0000367C  0108                     btst       A0, D0
  5753. 0000367E  7E00                     moveq.l    D7, 0x00
  5754. 00003680  206E 000C                movea.l    A0, [A6 + 0xC]
  5755. 00003684  2850                     movea.l    A4, [A0]
  5756. 00003686  226E 0008                movea.l    A1, [A6 + 0x8]
  5757. 0000368A  32AC 007C                move.w     [A1], [A4 + 0x7C]
  5758. 0000368E  2D47 0010                move.l     [A6 + 0x10], D7
  5759. 00003692  4CDF 1080                movem.l    D7,A4, [A7]+
  5760. 00003696  4E5E                     unlink     A6
  5761. 00003698  205F                     movea.l    A0, [A7]+
  5762. 0000369A  508F                     addq.l     A7, 8
  5763. 0000369C  4ED0                     jmp        [A0]
  5764. 0000369E  8D47 6574                pack       D6, D7, 0x6574
  5765. 000036A2  426C 6163                clr.w      [A4 + 0x6163]
  5766. 000036A6  6B4C                     bmi        +0x4E /* 000036F4 */
  5767. 000036A8  6576                     bcs        +0x78 /* 00003720 */
  5768. 000036AA  656C                     bcs        +0x6E /* 00003718 */
  5769. label000036AC:
  5770. 000036AC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5771. 000036B0  0000 48E7                ori.b      D0, 0xE7
  5772. 000036B4  0108                     btst       A0, D0
  5773. 000036B6  7E00                     moveq.l    D7, 0x00
  5774. 000036B8  206E 000C                movea.l    A0, [A6 + 0xC]
  5775. 000036BC  2850                     movea.l    A4, [A0]
  5776. 000036BE  226E 0008                movea.l    A1, [A6 + 0x8]
  5777. 000036C2  32AC 007E                move.w     [A1], [A4 + 0x7E]
  5778. 000036C6  2D47 0010                move.l     [A6 + 0x10], D7
  5779. 000036CA  4CDF 1080                movem.l    D7,A4, [A7]+
  5780. 000036CE  4E5E                     unlink     A6
  5781. 000036D0  205F                     movea.l    A0, [A7]+
  5782. 000036D2  508F                     addq.l     A7, 8
  5783. 000036D4  4ED0                     jmp        [A0]
  5784. 000036D6  8D47 6574                pack       D6, D7, 0x6574
  5785. 000036DA  5768 6974                subq.w     [A0 + 0x6974], 3
  5786. 000036DE  654C                     bcs        +0x4E /* 0000372C */
  5787. 000036E0  6576                     bcs        +0x78 /* 00003758 */
  5788. label000036E2:
  5789. 000036E2  656C                     bcs        +0x6E /* 00003750 */
  5790. 000036E4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5791. // begin alternate branch 000036E6-000036EC
  5792. fn000036E6:
  5793. 000036E6  4E56 0000                link       A6, 0
  5794. 000036EA  2F07                     move.l     -[A7], D7
  5795. // end alternate branch 000036E6-000036EC
  5796. fn000036E6: // (misaligned)
  5797. 000036E8  0000 2F07                ori.b      D0, 0x7
  5798. 000036EC  7E00                     moveq.l    D7, 0x00
  5799. 000036EE  206E 0020                movea.l    A0, [A6 + 0x20]
  5800. 000036F2  30BC 75D0                move.w     [A0], 0x75D0
  5801. // begin alternate branch 000036F4-000036F6
  5802. label000036F4:
  5803. 000036F4  75D0                     moveq.l    D2, 0xFFFFFFD0
  5804. // end alternate branch 000036F4-000036F6
  5805. label000036F4: // (misaligned)
  5806. 000036F6  226E 001C                movea.l    A1, [A6 + 0x1C]
  5807. 000036FA  32BC E380                move.w     [A1], 0xE380
  5808. 000036FE  206E 0018                movea.l    A0, [A6 + 0x18]
  5809. 00003702  30BC 8200                move.w     [A0], 0x8200
  5810. 00003706  206E 0014                movea.l    A0, [A6 + 0x14]
  5811. 0000370A  30BC 8200                move.w     [A0], 0x8200
  5812. 0000370E  206E 0010                movea.l    A0, [A6 + 0x10]
  5813. 00003712  30BC 8200                move.w     [A0], 0x8200
  5814. 00003716  206E 000C                movea.l    A0, [A6 + 0xC]
  5815. // begin alternate branch 00003718-0000371E
  5816. label00003718:
  5817. 00003718  000C 30BC                ori.b      A4, 0xBC
  5818. 0000371C  8200                     or.b       D1, D0
  5819. // end alternate branch 00003718-0000371E
  5820. label00003718: // (misaligned)
  5821. 0000371A  30BC 8200                move.w     [A0], 0x8200
  5822. 0000371E  206E 0008                movea.l    A0, [A6 + 0x8]
  5823. // begin alternate branch 00003720-00003724
  5824. label00003720:
  5825. 00003720  0008 4250                ori.b      A0, 0x50 /* 'P' */
  5826. // end alternate branch 00003720-00003724
  5827. label00003720: // (misaligned)
  5828. 00003722  4250                     clr.w      [A0]
  5829. 00003724  2D47 0028                move.l     [A6 + 0x28], D7
  5830. 00003728  2E1F                     move.l     D7, [A7]+
  5831. 0000372A  4E5E                     unlink     A6
  5832. label0000372C:
  5833. 0000372C  205F                     movea.l    A0, [A7]+
  5834. 0000372E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5835. 00003732  4ED0                     jmp        [A0]
  5836. 00003734  9047                     sub.w      D0, D7
  5837. 00003736  6574                     bcs        +0x76 /* 000037AC */
  5838. 00003738  5669 6465                addq.w     [A1 + 0x6465], 3
  5839. 0000373C  6F44                     ble        +0x46 /* 00003782 */
  5840. 0000373E  6566                     bcs        +0x68 /* 000037A6 */
  5841. 00003740  6175                     bsr        +0x77 /* 000037B7 */
  5842. 00003742  6C74                     bge        +0x76 /* 000037B8 */
  5843. 00003744  7300                     moveq.l    D1, 0x00
  5844. 00003746  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5845. 0000374A  FFC8                     .invalid   <<F/7/7>>
  5846. 0000374C  48E7 0108                movem.l    -[A7], D7,A4
  5847. label00003750:
  5848. 00003750  7E00                     moveq.l    D7, 0x00
  5849. 00003752  206E 0008                movea.l    A0, [A6 + 0x8]
  5850. 00003756  2850                     movea.l    A4, [A0]
  5851. label00003758:
  5852. 00003758  42AC 008C                clr.l      [A4 + 0x8C]
  5853. 0000375C  3954 0098                move.w     [A4 + 0x98], [A4]
  5854. 00003760  397C 2342 009A           move.w     [A4 + 0x9A], 0x2342 /* '#B' */
  5855. 00003766  397C 0001 009C           move.w     [A4 + 0x9C], 0x1
  5856. 0000376C  4267                     clr.w      -[A7]
  5857. 0000376E  486C 0080                pea.l      [A4 + 0x80]
  5858. 00003772  4227                     clr.b      -[A7]
  5859. 00003774  4EAD 0000                jsr        [A5 + 0x0]
  5860. 00003778  3E1F                     move.w     D7, [A7]+
  5861. 0000377A  48C7                     ext.l      D7
  5862. 0000377C  2D47 000C                move.l     [A6 + 0xC], D7
  5863. 00003780  4CDF 1080                movem.l    D7,A4, [A7]+
  5864. // begin alternate branch 00003782-00003784
  5865. label00003782:
  5866. 00003782  1080                     move.b     [A0], D0
  5867. // end alternate branch 00003782-00003784
  5868. label00003782: // (misaligned)
  5869. 00003784  4E5E                     unlink     A6
  5870. 00003786  2E9F                     move.l     [A7], [A7]+
  5871. 00003788  4E75                     rts
  5872. 0000378A  8C47                     or.w       D6, D7
  5873. 0000378C  7261                     moveq.l    D1, 0x61
  5874. 0000378E  624F                     bhi        +0x51 /* 000037DF */
  5875. 00003790  6E65                     bgt        +0x67 /* 000037F7 */
  5876. 00003792  4672 616D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  5877. 00003796  6500 0000                bcs        +0x2 /* 00003798 */
  5878. // begin alternate branch 00003798-0000379E
  5879. label00003798:
  5880. 00003798  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5881. 0000379C  FFFE                     .invalid   <<F/7/7>>
  5882. // end alternate branch 00003798-0000379E
  5883. label00003798: // (misaligned)
  5884. 0000379A  4E56 FFFE                link       A6, -0x0002
  5885. 0000379E  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  5886. 000037A2  286E 000C                movea.l    A4, [A6 + 0xC]
  5887. label000037A6:
  5888. 000037A6  7E00                     moveq.l    D7, 0x00
  5889. 000037A8  206E 0010                movea.l    A0, [A6 + 0x10]
  5890. label000037AC:
  5891. 000037AC  2650                     movea.l    A3, [A0]
  5892. 000037AE  28AB 0010                move.l     [A4], [A3 + 0x10]
  5893. 000037B2  226B 0008                movea.l    A1, [A3 + 0x8]
  5894. 000037B6  2251                     movea.l    A1, [A1]
  5895. label000037B8:
  5896. 000037B8  206B 0008                movea.l    A0, [A3 + 0x8]
  5897. 000037BC  2050                     movea.l    A0, [A0]
  5898. 000037BE  3C28 000C                move.w     D6, [A0 + 0xC]
  5899. 000037C2  9C69 0008                sub.w      D6, [A1 + 0x8]
  5900. 000037C6  206B 0008                movea.l    A0, [A3 + 0x8]
  5901. 000037CA  2050                     movea.l    A0, [A0]
  5902. 000037CC  0C68 0020 0020           cmpi.w     [A0 + 0x20], 0x20 /* ' ' */
  5903. 000037D2  662E                     bne        +0x30 /* 00003802 */
  5904. 000037D4  206B 0008                movea.l    A0, [A3 + 0x8]
  5905. 000037D8  2050                     movea.l    A0, [A0]
  5906. 000037DA  226B 0008                movea.l    A1, [A3 + 0x8]
  5907. 000037DE  2251                     movea.l    A1, [A1]
  5908. 000037E0  3029 0020                move.w     D0, [A1 + 0x20]
  5909. 000037E4  48C0                     ext.l      D0
  5910. 000037E6  81FC 0008                divs.w     D0, 0x8
  5911. 000037EA  C1C6                     muls.w     D0, D6
  5912. 000037EC  2254                     movea.l    A1, [A4]
  5913. 000037EE  48C0                     ext.l      D0
  5914. 000037F0  D090                     add.l      D0, [A0]
  5915. 000037F2  2251                     movea.l    A1, [A1]
  5916. 000037F4  2280                     move.l     [A1], D0
  5917. 000037F6  2054                     movea.l    A0, [A4]
  5918. 000037F8  2050                     movea.l    A0, [A0]
  5919. 000037FA  317C 0004 000E           move.w     [A0 + 0xE], 0x4
  5920. 00003800  6030                     bra        +0x32 /* 00003832 */
  5921. label00003802:
  5922. 00003802  206B 0008                movea.l    A0, [A3 + 0x8]
  5923. 00003806  2050                     movea.l    A0, [A0]
  5924. 00003808  0C68 0008 0020           cmpi.w     [A0 + 0x20], 0x8
  5925. 0000380E  661C                     bne        +0x1E /* 0000382C */
  5926. 00003810  206B 0008                movea.l    A0, [A3 + 0x8]
  5927. 00003814  2050                     movea.l    A0, [A0]
  5928. 00003816  2254                     movea.l    A1, [A4]
  5929. 00003818  2050                     movea.l    A0, [A0]
  5930. 0000381A  D0C6                     add.w      A0, D6
  5931. 0000381C  2251                     movea.l    A1, [A1]
  5932. 0000381E  2288                     move.l     [A1], A0
  5933. 00003820  2054                     movea.l    A0, [A4]
  5934. 00003822  2050                     movea.l    A0, [A0]
  5935. 00003824  317C 0004 000E           move.w     [A0 + 0xE], 0x4
  5936. 0000382A  6006                     bra        +0x8 /* 00003832 */
  5937. label0000382C:
  5938. 0000382C  2E3C FFFF F761           move.l     D7, 0xFFFFF761
  5939. label00003832:
  5940. 00003832  2054                     movea.l    A0, [A4]
  5941. 00003834  2050                     movea.l    A0, [A0]
  5942. 00003836  4868 0006                pea.l      [A0 + 0x6]
  5943. 0000383A  42A7                     clr.l      -[A7]
  5944. 0000383C  2F3C 01FE 017F           move.l     -[A7], 0x1FE017F
  5945. 00003842  A8A7                     syscall    SetRect
  5946. 00003844  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5947. 00003848  42A7                     clr.l      -[A7]
  5948. 0000384A  2F3C 01FE 017F           move.l     -[A7], 0x1FE017F
  5949. 00003850  A8A7                     syscall    SetRect
  5950. 00003852  2D47 0014                move.l     [A6 + 0x14], D7
  5951. 00003856  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  5952. 0000385A  4E5E                     unlink     A6
  5953. 0000385C  205F                     movea.l    A0, [A7]+
  5954. 0000385E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5955. 00003862  4ED0                     jmp        [A0]
  5956. 00003864  8F47 6574                pack       D7, D7, 0x6574
  5957. 00003868  4D61                     chk.w      D6, -[A1]
  5958. 0000386A  7841                     moveq.l    D4, 0x41
  5959. 0000386C  7578                     moveq.l    D2, 0x78
  5960. 0000386E  4275 6666                clr.w      [A5 + D6.w * 8 + 0x66]
  5961. 00003872  6572                     bcs        +0x74 /* 000038E6 */
  5962. 00003874  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5963. 00003878  FFF8                     .invalid   <<F/7/7>>
  5964. 0000387A  48E7 0118                movem.l    -[A7], D7,A3,A4
  5965. 0000387E  286E 0008                movea.l    A4, [A6 + 0x8]
  5966. 00003882  7E00                     moveq.l    D7, 0x00
  5967. 00003884  206E 000C                movea.l    A0, [A6 + 0xC]
  5968. 00003888  2650                     movea.l    A3, [A0]
  5969. 0000388A  4254                     clr.w      [A4]
  5970. 0000388C  296B 006C 0002           move.l     [A4 + 0x2], [A3 + 0x6C]
  5971. 00003892  296B 0070 0006           move.l     [A4 + 0x6], [A3 + 0x70]
  5972. 00003898  42A7                     clr.l      -[A7]
  5973. 0000389A  2F08                     move.l     -[A7], A0
  5974. 0000389C  486E FFFC                pea.l      [A6 - 0x4]
  5975. 000038A0  486E FFF8                pea.l      [A6 - 0x8]
  5976. 000038A4  4EBA 0068                jsr        [PC + 0x68 /* 0000390E */]
  5977. 000038A8  2E1F                     move.l     D7, [A7]+
  5978. 000038AA  296E FFFC 000A           move.l     [A4 + 0xA], [A6 - 0x4]
  5979. 000038B0  296E FFF8 000E           move.l     [A4 + 0xE], [A6 - 0x8]
  5980. 000038B6  102B 0006                move.b     D0, [A3 + 0x6]
  5981. 000038BA  4880                     ext.w      D0
  5982. 000038BC  3940 0012                move.w     [A4 + 0x12], D0
  5983. 000038C0  296B 0002 0014           move.l     [A4 + 0x14], [A3 + 0x2]
  5984. 000038C6  426C 001C                clr.w      [A4 + 0x1C]
  5985. 000038CA  426C 001E                clr.w      [A4 + 0x1E]
  5986. 000038CE  302B 0018                move.w     D0, [A3 + 0x18]
  5987. 000038D2  906B 0014                sub.w      D0, [A3 + 0x14]
  5988. 000038D6  3940 0020                move.w     [A4 + 0x20], D0
  5989. 000038DA  302B 001A                move.w     D0, [A3 + 0x1A]
  5990. 000038DE  906B 0016                sub.w      D0, [A3 + 0x16]
  5991. 000038E2  3940 0022                move.w     [A4 + 0x22], D0
  5992. label000038E6:
  5993. 000038E6  426C 0024                clr.w      [A4 + 0x24]
  5994. 000038EA  2D47 0010                move.l     [A6 + 0x10], D7
  5995. 000038EE  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  5996. 000038F2  4E5E                     unlink     A6
  5997. 000038F4  205F                     movea.l    A0, [A7]+
  5998. 000038F6  508F                     addq.l     A7, 8
  5999. 000038F8  4ED0                     jmp        [A0]
  6000. 000038FA  9047                     sub.w      D0, D7
  6001. 000038FC  6574                     bcs        +0x76 /* 00003972 */
  6002. 000038FE  4469 6769                neg.w      [A1 + 0x6769]
  6003. 00003902  7469                     moveq.l    D2, 0x69
  6004. 00003904  7A65                     moveq.l    D5, 0x65
  6005. 00003906  7249                     moveq.l    D1, 0x49
  6006. 00003908  6E66                     bgt        +0x68 /* 00003970 */
  6007. 0000390A  6F00 0000                ble        +0x2 /* 0000390C */
  6008. // begin alternate branch 0000390C-00003912
  6009. label0000390C:
  6010. 0000390C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6011. fn0000390E: // (misaligned)
  6012. 00003910  FFCE                     .invalid   <<F/7/7>>
  6013. // end alternate branch 0000390C-00003912
  6014. label0000390C: // (misaligned)
  6015. fn0000390E:
  6016. 0000390E  4E56 FFCE                link       A6, -0x0032
  6017. 00003912  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  6018. 00003916  286E 000C                movea.l    A4, [A6 + 0xC]
  6019. 0000391A  266E 0008                movea.l    A3, [A6 + 0x8]
  6020. 0000391E  7E00                     moveq.l    D7, 0x00
  6021. 00003920  206E 0010                movea.l    A0, [A6 + 0x10]
  6022. 00003924  2450                     movea.l    A2, [A0]
  6023. 00003926  3D52 FFE6                move.w     [A6 - 0x1A], [A2]
  6024. 0000392A  3D7C 232D FFE8           move.w     [A6 - 0x18], 0x232D /* '#-' */
  6025. 00003930  4267                     clr.w      -[A7]
  6026. 00003932  486E FFCE                pea.l      [A6 - 0x32]
  6027. 00003936  4227                     clr.b      -[A7]
  6028. 00003938  4EAD 0000                jsr        [A5 + 0x0]
  6029. 0000393C  3E1F                     move.w     D7, [A7]+
  6030. 0000393E  48C7                     ext.l      D7
  6031. 00003940  4A6E FFEA                tst.w      [A6 - 0x16]
  6032. 00003944  6604                     bne        +0x6 /* 0000394A */
  6033. 00003946  4294                     clr.l      [A4]
  6034. 00003948  601E                     bra        +0x20 /* 00003968 */
  6035. label0000394A:
  6036. 0000394A  28BC 8000 0001           move.l     [A4], 0x80000001
  6037. 00003950  4A6E FFEC                tst.w      [A6 - 0x14]
  6038. 00003954  660A                     bne        +0xC /* 00003960 */
  6039. 00003956  2014                     move.l     D0, [A4]
  6040. 00003958  0040 0100                ori.w      D0, 0x100
  6041. 0000395C  2880                     move.l     [A4], D0
  6042. 0000395E  6008                     bra        +0xA /* 00003968 */
  6043. label00003960:
  6044. 00003960  2014                     move.l     D0, [A4]
  6045. 00003962  0040 0200                ori.w      D0, 0x200
  6046. 00003966  2880                     move.l     [A4], D0
  6047. label00003968:
  6048. 00003968  4293                     clr.l      [A3]
  6049. 0000396A  206A 0008                movea.l    A0, [A2 + 0x8]
  6050. 0000396E  2050                     movea.l    A0, [A0]
  6051. label00003970:
  6052. 00003970  0C68 0020 0020           cmpi.w     [A0 + 0x20], 0x20 /* ' ' */
  6053. // begin alternate branch 00003972-00003976
  6054. label00003972:
  6055. 00003972  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  6056. // end alternate branch 00003972-00003976
  6057. label00003972: // (misaligned)
  6058. 00003976  6608                     bne        +0xA /* 00003980 */
  6059. 00003978  7020                     moveq.l    D0, 0x20
  6060. 0000397A  8093                     or.l       D0, [A3]
  6061. 0000397C  2680                     move.l     [A3], D0
  6062. 0000397E  601C                     bra        +0x1E /* 0000399C */
  6063. label00003980:
  6064. 00003980  206A 0008                movea.l    A0, [A2 + 0x8]
  6065. 00003984  2050                     movea.l    A0, [A0]
  6066. 00003986  0C68 0008 0020           cmpi.w     [A0 + 0x20], 0x8
  6067. 0000398C  6608                     bne        +0xA /* 00003996 */
  6068. 0000398E  7008                     moveq.l    D0, 0x08
  6069. 00003990  8093                     or.l       D0, [A3]
  6070. 00003992  2680                     move.l     [A3], D0
  6071. 00003994  6006                     bra        +0x8 /* 0000399C */
  6072. label00003996:
  6073. 00003996  2D47 0014                move.l     [A6 + 0x14], D7
  6074. 0000399A  6044                     bra        +0x46 /* 000039E0 */
  6075. label0000399C:
  6076. 0000399C  4AAA 0054                tst.l      [A2 + 0x54]
  6077. 000039A0  6C08                     bge        +0xA /* 000039AA */
  6078. 000039A2  2013                     move.l     D0, [A3]
  6079. 000039A4  08C0 0011                bset.b     D0, 0x11
  6080. 000039A8  2680                     move.l     [A3], D0
  6081. label000039AA:
  6082. 000039AA  4AAA 0044                tst.l      [A2 + 0x44]
  6083. 000039AE  6C08                     bge        +0xA /* 000039B8 */
  6084. 000039B0  2013                     move.l     D0, [A3]
  6085. 000039B2  08C0 0010                bset.b     D0, 0x10
  6086. 000039B6  2680                     move.l     [A3], D0
  6087. label000039B8:
  6088. 000039B8  4267                     clr.w      -[A7]
  6089. 000039BA  2F2A 0044                move.l     -[A7], [A2 + 0x44]
  6090. 000039BE  A86C                     syscall    FixRound
  6091. 000039C0  0C5F 0001                cmpi.w     [A7]+, 0x1
  6092. 000039C4  660E                     bne        +0x10 /* 000039D4 */
  6093. 000039C6  4267                     clr.w      -[A7]
  6094. 000039C8  2F2A 0044                move.l     -[A7], [A2 + 0x44]
  6095. 000039CC  A86C                     syscall    FixRound
  6096. 000039CE  0C5F 0001                cmpi.w     [A7]+, 0x1
  6097. 000039D2  6708                     beq        +0xA /* 000039DC */
  6098. label000039D4:
  6099. 000039D4  2013                     move.l     D0, [A3]
  6100. 000039D6  0040 0100                ori.w      D0, 0x100
  6101. 000039DA  2680                     move.l     [A3], D0
  6102. label000039DC:
  6103. 000039DC  2D47 0014                move.l     [A6 + 0x14], D7
  6104. label000039E0:
  6105. 000039E0  4CDF 1C80                movem.l    D7,A2,A3,A4, [A7]+
  6106. 000039E4  4E5E                     unlink     A6
  6107. 000039E6  205F                     movea.l    A0, [A7]+
  6108. 000039E8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6109. 000039EC  4ED0                     jmp        [A0]
  6110. 000039EE  8F47 6574                pack       D7, D7, 0x6574
  6111. 000039F2  4375 7272                chk.w      D1, [A5 + D7.w * 2 + 0x72]
  6112. 000039F6  656E                     bcs        +0x70 /* 00003A66 */
  6113. 000039F8  7446                     moveq.l    D2, 0x46
  6114. 000039FA  6C61                     bge        +0x63 /* 00003A5D */
  6115. 000039FC  6773                     beq        +0x75 /* 00003A71 */
  6116. 000039FE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6117. // begin alternate branch 00003A00-00003A04
  6118. fn00003A00:
  6119. 00003A00  4E56 FFCE                link       A6, -0x0032
  6120. // end alternate branch 00003A00-00003A04
  6121. fn00003A00: // (misaligned)
  6122. 00003A02  FFCE                     .invalid   <<F/7/7>>
  6123. 00003A04  48E7 0108                movem.l    -[A7], D7,A4
  6124. 00003A08  7E00                     moveq.l    D7, 0x00
  6125. 00003A0A  206E 000A                movea.l    A0, [A6 + 0xA]
  6126. 00003A0E  2850                     movea.l    A4, [A0]
  6127. 00003A10  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  6128. 00003A14  3D7C 234A FFE8           move.w     [A6 - 0x18], 0x234A /* '#J' */
  6129. 00003A1A  3D6E 0008 FFEA           move.w     [A6 - 0x16], [A6 + 0x8]
  6130. 00003A20  4267                     clr.w      -[A7]
  6131. 00003A22  486E FFCE                pea.l      [A6 - 0x32]
  6132. 00003A26  4227                     clr.b      -[A7]
  6133. 00003A28  4EAD 0000                jsr        [A5 + 0x0]
  6134. 00003A2C  3E1F                     move.w     D7, [A7]+
  6135. 00003A2E  48C7                     ext.l      D7
  6136. 00003A30  2D47 000E                move.l     [A6 + 0xE], D7
  6137. 00003A34  4CDF 1080                movem.l    D7,A4, [A7]+
  6138. 00003A38  4E5E                     unlink     A6
  6139. 00003A3A  205F                     movea.l    A0, [A7]+
  6140. 00003A3C  5C8F                     addq.l     A7, 6
  6141. 00003A3E  4ED0                     jmp        [A0]
  6142. 00003A40  9053                     sub.w      D0, [A3]
  6143. 00003A42  6574                     bcs        +0x76 /* 00003AB8 */
  6144. 00003A44  504C                     addq.w     A4, 8
  6145. 00003A46  4C46 696C                movem.l    D2,D3,D5,D6,A0,A3,A5,A6, D6
  6146. 00003A4A  7465                     moveq.l    D2, 0x65
  6147. 00003A4C  7254                     moveq.l    D1, 0x54
  6148. 00003A4E  7970                     moveq.l    D4, 0x70
  6149. 00003A50  6500 0000                bcs        +0x2 /* 00003A52 */
  6150. // begin alternate branch 00003A52-00003A58
  6151. label00003A52:
  6152. 00003A52  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6153. 00003A56  FFCE                     .invalid   <<F/7/7>>
  6154. // end alternate branch 00003A52-00003A58
  6155. label00003A52: // (misaligned)
  6156. 00003A54  4E56 FFCE                link       A6, -0x0032
  6157. 00003A58  48E7 0108                movem.l    -[A7], D7,A4
  6158. 00003A5C  7E00                     moveq.l    D7, 0x00
  6159. 00003A5E  206E 000C                movea.l    A0, [A6 + 0xC]
  6160. 00003A62  2850                     movea.l    A4, [A0]
  6161. 00003A64  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  6162. // begin alternate branch 00003A66-00003A68
  6163. label00003A66:
  6164. 00003A66  FFE6                     .invalid   <<F/7/7>>
  6165. // end alternate branch 00003A66-00003A68
  6166. label00003A66: // (misaligned)
  6167. 00003A68  3D7C 234A FFE8           move.w     [A6 - 0x18], 0x234A /* '#J' */
  6168. 00003A6E  4267                     clr.w      -[A7]
  6169. 00003A70  486E FFCE                pea.l      [A6 - 0x32]
  6170. 00003A74  4227                     clr.b      -[A7]
  6171. 00003A76  4EAD 0000                jsr        [A5 + 0x0]
  6172. 00003A7A  3E1F                     move.w     D7, [A7]+
  6173. 00003A7C  48C7                     ext.l      D7
  6174. 00003A7E  206E 0008                movea.l    A0, [A6 + 0x8]
  6175. 00003A82  30AE FFEA                move.w     [A0], [A6 - 0x16]
  6176. 00003A86  2D47 0010                move.l     [A6 + 0x10], D7
  6177. 00003A8A  4CDF 1080                movem.l    D7,A4, [A7]+
  6178. 00003A8E  4E5E                     unlink     A6
  6179. 00003A90  205F                     movea.l    A0, [A7]+
  6180. 00003A92  508F                     addq.l     A7, 8
  6181. 00003A94  4ED0                     jmp        [A0]
  6182. 00003A96  9047                     sub.w      D0, D7
  6183. 00003A98  6574                     bcs        +0x76 /* 00003B0E */
  6184. 00003A9A  504C                     addq.w     A4, 8
  6185. 00003A9C  4C46 696C                movem.l    D2,D3,D5,D6,A0,A3,A5,A6, D6
  6186. 00003AA0  7465                     moveq.l    D2, 0x65
  6187. 00003AA2  7254                     moveq.l    D1, 0x54
  6188. 00003AA4  7970                     moveq.l    D4, 0x70
  6189. 00003AA6  6500 0000                bcs        +0x2 /* 00003AA8 */
  6190. // begin alternate branch 00003AA8-00003AAE
  6191. label00003AA8:
  6192. 00003AA8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6193. 00003AAC  FFAE                     .invalid   <<F/6/7>>
  6194. // end alternate branch 00003AA8-00003AAE
  6195. label00003AA8: // (misaligned)
  6196. 00003AAA  4E56 FFAE                link       A6, -0x0052
  6197. 00003AAE  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  6198. 00003AB2  286E 0014                movea.l    A4, [A6 + 0x14]
  6199. 00003AB6  266E 000C                movea.l    A3, [A6 + 0xC]
  6200. // begin alternate branch 00003AB8-00003ABC
  6201. label00003AB8:
  6202. 00003AB8  000C 7C00                ori.b      A4, 0x0
  6203. // end alternate branch 00003AB8-00003ABC
  6204. label00003AB8: // (misaligned)
  6205. 00003ABA  7C00                     moveq.l    D6, 0x00
  6206. 00003ABC  422E FFBD                clr.b      [A6 - 0x43]
  6207. 00003AC0  422E FFBC                clr.b      [A6 - 0x44]
  6208. 00003AC4  422E FFBB                clr.b      [A6 - 0x45]
  6209. 00003AC8  206E 0018                movea.l    A0, [A6 + 0x18]
  6210. 00003ACC  2450                     movea.l    A2, [A0]
  6211. 00003ACE  226A 0008                movea.l    A1, [A2 + 0x8]
  6212. 00003AD2  2251                     movea.l    A1, [A1]
  6213. 00003AD4  2E11                     move.l     D7, [A1]
  6214. 00003AD6  226A 0008                movea.l    A1, [A2 + 0x8]
  6215. 00003ADA  2251                     movea.l    A1, [A1]
  6216. 00003ADC  3029 0004                move.w     D0, [A1 + 0x4]
  6217. 00003AE0  0240 7FFF                andi.w     D0, 0x7FFF
  6218. 00003AE4  3D40 FFCC                move.w     [A6 - 0x34], D0
  6219. 00003AE8  2254                     movea.l    A1, [A4]
  6220. 00003AEA  2D51 FFB2                move.l     [A6 - 0x4E], [A1]
  6221. 00003AEE  3229 0004                move.w     D1, [A1 + 0x4]
  6222. 00003AF2  0241 7FFF                andi.w     D1, 0x7FFF
  6223. 00003AF6  3D41 FFB0                move.w     [A6 - 0x50], D1
  6224. 00003AFA  3D69 0020 FFAE           move.w     [A6 - 0x52], [A1 + 0x20]
  6225. 00003B00  342A 0030                move.w     D2, [A2 + 0x30]
  6226. 00003B04  946A 002C                sub.w      D2, [A2 + 0x2C]
  6227. 00003B08  3D42 FFC6                move.w     [A6 - 0x3A], D2
  6228. 00003B0C  302A 0032                move.w     D0, [A2 + 0x32]
  6229. // begin alternate branch 00003B0E-00003B14
  6230. label00003B0E:
  6231. 00003B0E  0032 906A 002E           ori.b      [A2 + D0.w + 0x2E], 0x6A /* 'j' */
  6232. // end alternate branch 00003B0E-00003B14
  6233. label00003B0E: // (misaligned)
  6234. 00003B10  906A 002E                sub.w      D0, [A2 + 0x2E]
  6235. 00003B14  3D40 FFC4                move.w     [A6 - 0x3C], D0
  6236. 00003B18  200B                     move.l     D0, A3
  6237. 00003B1A  663E                     bne        +0x40 /* 00003B5A */
  6238. 00003B1C  206E 0010                movea.l    A0, [A6 + 0x10]
  6239. 00003B20  3028 0004                move.w     D0, [A0 + 0x4]
  6240. 00003B24  9050                     sub.w      D0, [A0]
  6241. 00003B26  3D40 FFC8                move.w     [A6 - 0x38], D0
  6242. 00003B2A  3228 0006                move.w     D1, [A0 + 0x6]
  6243. 00003B2E  9268 0002                sub.w      D1, [A0 + 0x2]
  6244. 00003B32  3D41 FFCA                move.w     [A6 - 0x36], D1
  6245. 00003B36  2254                     movea.l    A1, [A4]
  6246. 00003B38  3428 0002                move.w     D2, [A0 + 0x2]
  6247. 00003B3C  9469 0008                sub.w      D2, [A1 + 0x8]
  6248. 00003B40  3D42 FFC0                move.w     [A6 - 0x40], D2
  6249. 00003B44  3010                     move.w     D0, [A0]
  6250. 00003B46  9069 0006                sub.w      D0, [A1 + 0x6]
  6251. 00003B4A  3D40 FFBE                move.w     [A6 - 0x42], D0
  6252. 00003B4E  422E FFBC                clr.b      [A6 - 0x44]
  6253. 00003B52  422E FFBD                clr.b      [A6 - 0x43]
  6254. 00003B56  6000 00AA                bra        +0xAC /* 00003C02 */
  6255. label00003B5A:
  6256. 00003B5A  4267                     clr.w      -[A7]
  6257. 00003B5C  42A7                     clr.l      -[A7]
  6258. 00003B5E  42A7                     clr.l      -[A7]
  6259. 00003B60  3F2E FFC6                move.w     -[A7], [A6 - 0x3A]
  6260. 00003B64  3F3C 0001                move.w     -[A7], 0x1
  6261. 00003B68  A869                     syscall    FixRatio
  6262. 00003B6A  2F2B 0010                move.l     -[A7], [A3 + 0x10]
  6263. 00003B6E  A868                     syscall    FixMul
  6264. 00003B70  A86C                     syscall    FixRound
  6265. 00003B72  3D5F FFC8                move.w     [A6 - 0x38], [A7]+
  6266. 00003B76  4267                     clr.w      -[A7]
  6267. 00003B78  42A7                     clr.l      -[A7]
  6268. 00003B7A  42A7                     clr.l      -[A7]
  6269. 00003B7C  3F2E FFC4                move.w     -[A7], [A6 - 0x3C]
  6270. 00003B80  3F3C 0001                move.w     -[A7], 0x1
  6271. 00003B84  A869                     syscall    FixRatio
  6272. 00003B86  2F13                     move.l     -[A7], [A3]
  6273. 00003B88  A868                     syscall    FixMul
  6274. 00003B8A  A86C                     syscall    FixRound
  6275. 00003B8C  3D5F FFCA                move.w     [A6 - 0x36], [A7]+
  6276. 00003B90  4267                     clr.w      -[A7]
  6277. 00003B92  2F2B 0018                move.l     -[A7], [A3 + 0x18]
  6278. 00003B96  A86C                     syscall    FixRound
  6279. 00003B98  2054                     movea.l    A0, [A4]
  6280. 00003B9A  301F                     move.w     D0, [A7]+
  6281. 00003B9C  9068 0008                sub.w      D0, [A0 + 0x8]
  6282. 00003BA0  3D40 FFC0                move.w     [A6 - 0x40], D0
  6283. 00003BA4  4267                     clr.w      -[A7]
  6284. 00003BA6  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  6285. 00003BAA  A86C                     syscall    FixRound
  6286. 00003BAC  2054                     movea.l    A0, [A4]
  6287. 00003BAE  301F                     move.w     D0, [A7]+
  6288. 00003BB0  9068 0006                sub.w      D0, [A0 + 0x6]
  6289. 00003BB4  3D40 FFBE                move.w     [A6 - 0x42], D0
  6290. 00003BB8  4AAB 0010                tst.l      [A3 + 0x10]
  6291. 00003BBC  5DC1                     slt        D1
  6292. 00003BBE  4401                     neg.b      D1
  6293. 00003BC0  4AAA 0054                tst.l      [A2 + 0x54]
  6294. 00003BC4  5DC2                     slt        D2
  6295. 00003BC6  4402                     neg.b      D2
  6296. 00003BC8  B501                     xor.b      D1, D2
  6297. 00003BCA  1D41 FFBC                move.b     [A6 - 0x44], D1
  6298. 00003BCE  4A93                     tst.l      [A3]
  6299. 00003BD0  5DC2                     slt        D2
  6300. 00003BD2  4402                     neg.b      D2
  6301. 00003BD4  4AAA 0044                tst.l      [A2 + 0x44]
  6302. 00003BD8  5DC0                     slt        D0
  6303. 00003BDA  4400                     neg.b      D0
  6304. 00003BDC  B102                     xor.b      D2, D0
  6305. 00003BDE  1D42 FFBD                move.b     [A6 - 0x43], D2
  6306. 00003BE2  4A6E FFC8                tst.w      [A6 - 0x38]
  6307. 00003BE6  6C0A                     bge        +0xC /* 00003BF2 */
  6308. 00003BE8  302E FFC8                move.w     D0, [A6 - 0x38]
  6309. 00003BEC  4440                     neg.w      D0
  6310. 00003BEE  3D40 FFC8                move.w     [A6 - 0x38], D0
  6311. label00003BF2:
  6312. 00003BF2  4A6E FFCA                tst.w      [A6 - 0x36]
  6313. 00003BF6  6C0A                     bge        +0xC /* 00003C02 */
  6314. 00003BF8  302E FFCA                move.w     D0, [A6 - 0x36]
  6315. 00003BFC  4440                     neg.w      D0
  6316. 00003BFE  3D40 FFCA                move.w     [A6 - 0x36], D0
  6317. label00003C02:
  6318. 00003C02  302E FFC8                move.w     D0, [A6 - 0x38]
  6319. 00003C06  48C0                     ext.l      D0
  6320. 00003C08  81FC 0002                divs.w     D0, 0x2
  6321. 00003C0C  4840                     swap.w     D0
  6322. 00003C0E  4A40                     tst.w      D0
  6323. 00003C10  670A                     beq        +0xC /* 00003C1C */
  6324. 00003C12  7001                     moveq.l    D0, 0x01
  6325. 00003C14  D06E FFC8                add.w      D0, [A6 - 0x38]
  6326. 00003C18  3D40 FFC8                move.w     [A6 - 0x38], D0
  6327. label00003C1C:
  6328. 00003C1C  3D52 FFE6                move.w     [A6 - 0x1A], [A2]
  6329. 00003C20  3D7C 2334 FFE8           move.w     [A6 - 0x18], 0x2334 /* '#4' */
  6330. 00003C26  3D6A 002C FFEA           move.w     [A6 - 0x16], [A2 + 0x2C]
  6331. 00003C2C  3D6A 002E FFEC           move.w     [A6 - 0x14], [A2 + 0x2E]
  6332. 00003C32  3D6A 0030 FFEE           move.w     [A6 - 0x12], [A2 + 0x30]
  6333. 00003C38  3D6A 0032 FFF0           move.w     [A6 - 0x10], [A2 + 0x32]
  6334. 00003C3E  3D6E FFCA FFF2           move.w     [A6 - 0xE], [A6 - 0x36]
  6335. 00003C44  3D6E FFC8 FFF4           move.w     [A6 - 0xC], [A6 - 0x38]
  6336. 00003C4A  0C6E 0140 FFCA           cmpi.w     [A6 - 0x36], 0x140
  6337. 00003C50  6E1E                     bgt        +0x20 /* 00003C70 */
  6338. 00003C52  0C6E 00F0 FFC8           cmpi.w     [A6 - 0x38], 0xF0
  6339. 00003C58  6E16                     bgt        +0x18 /* 00003C70 */
  6340. 00003C5A  4A2A 00C2                tst.b      [A2 + 0xC2]
  6341. 00003C5E  6708                     beq        +0xA /* 00003C68 */
  6342. 00003C60  3D7C 0005 FFF6           move.w     [A6 - 0xA], 0x5
  6343. 00003C66  600C                     bra        +0xE /* 00003C74 */
  6344. label00003C68:
  6345. 00003C68  3D7C 0002 FFF6           move.w     [A6 - 0xA], 0x2
  6346. 00003C6E  6004                     bra        +0x6 /* 00003C74 */
  6347. label00003C70:
  6348. 00003C70  426E FFF6                clr.w      [A6 - 0xA]
  6349. label00003C74:
  6350. 00003C74  4267                     clr.w      -[A7]
  6351. 00003C76  486E FFCE                pea.l      [A6 - 0x32]
  6352. 00003C7A  4227                     clr.b      -[A7]
  6353. 00003C7C  4EAD 0000                jsr        [A5 + 0x0]
  6354. 00003C80  3C1F                     move.w     D6, [A7]+
  6355. 00003C82  48C6                     ext.l      D6
  6356. 00003C84  4AAE FFB2                tst.l      [A6 - 0x4E]
  6357. 00003C88  6610                     bne        +0x12 /* 00003C9A */
  6358. 00003C8A  3D6E FFBE FFEA           move.w     [A6 - 0x16], [A6 - 0x42]
  6359. 00003C90  3D6E FFC0 FFEC           move.w     [A6 - 0x14], [A6 - 0x40]
  6360. 00003C96  6000 01A4                bra        +0x1A6 /* 00003E3C */
  6361. label00003C9A:
  6362. 00003C9A  0C6E 0020 FFAE           cmpi.w     [A6 - 0x52], 0x20 /* ' ' */
  6363. 00003CA0  670E                     beq        +0x10 /* 00003CB0 */
  6364. 00003CA2  0C6E 0008 FFAE           cmpi.w     [A6 - 0x52], 0x8
  6365. 00003CA8  6706                     beq        +0x8 /* 00003CB0 */
  6366. 00003CAA  2C3C FFFF F761           move.l     D6, 0xFFFFF761
  6367. label00003CB0:
  6368. 00003CB0  0C6E 0008 FFAE           cmpi.w     [A6 - 0x52], 0x8
  6369. 00003CB6  660A                     bne        +0xC /* 00003CC2 */
  6370. 00003CB8  3F12                     move.w     -[A7], [A2]
  6371. 00003CBA  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  6372. 00003CBE  4EBA 0C4E                jsr        [PC + 0xC4E /* 0000490E */]
  6373. label00003CC2:
  6374. 00003CC2  4A86                     tst.l      D6
  6375. 00003CC4  660E                     bne        +0x10 /* 00003CD4 */
  6376. 00003CC6  2F07                     move.l     -[A7], D7
  6377. 00003CC8  2F2E FFB2                move.l     -[A7], [A6 - 0x4E]
  6378. 00003CCC  4EBA 0B26                jsr        [PC + 0xB26 /* 000047F4 */]
  6379. 00003CD0  2C00                     move.l     D6, D0
  6380. 00003CD2  508F                     addq.l     A7, 8
  6381. label00003CD4:
  6382. 00003CD4  4A86                     tst.l      D6
  6383. 00003CD6  6600 013E                bne        +0x140 /* 00003E16 */
  6384. 00003CDA  306E FFCC                movea.w    A0, [A6 - 0x34]
  6385. 00003CDE  2F08                     move.l     -[A7], A0
  6386. 00003CE0  202E FFB2                move.l     D0, [A6 - 0x4E]
  6387. 00003CE4  9087                     sub.l      D0, D7
  6388. 00003CE6  2F00                     move.l     -[A7], D0
  6389. 00003CE8  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  6390. 00003CEC  3600                     move.w     D3, D0
  6391. 00003CEE  0C6E 0020 FFAE           cmpi.w     [A6 - 0x52], 0x20 /* ' ' */
  6392. 00003CF4  6628                     bne        +0x2A /* 00003D1E */
  6393. 00003CF6  302E FFCC                move.w     D0, [A6 - 0x34]
  6394. 00003CFA  48C0                     ext.l      D0
  6395. 00003CFC  81FC 0004                divs.w     D0, 0x4
  6396. 00003D00  3040                     movea.w    A0, D0
  6397. 00003D02  2F08                     move.l     -[A7], A0
  6398. 00003D04  4878 0004                push.l     0x4
  6399. 00003D08  202E FFB2                move.l     D0, [A6 - 0x4E]
  6400. 00003D0C  9087                     sub.l      D0, D7
  6401. 00003D0E  2F00                     move.l     -[A7], D0
  6402. 00003D10  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  6403. 00003D14  2F00                     move.l     -[A7], D0
  6404. 00003D16  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  6405. 00003D1A  3800                     move.w     D4, D0
  6406. 00003D1C  6014                     bra        +0x16 /* 00003D32 */
  6407. label00003D1E:
  6408. 00003D1E  306E FFCC                movea.w    A0, [A6 - 0x34]
  6409. 00003D22  2F08                     move.l     -[A7], A0
  6410. 00003D24  202E FFB2                move.l     D0, [A6 - 0x4E]
  6411. 00003D28  9087                     sub.l      D0, D7
  6412. 00003D2A  2F00                     move.l     -[A7], D0
  6413. 00003D2C  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  6414. 00003D30  3800                     move.w     D4, D0
  6415. label00003D32:
  6416. 00003D32  D66E FFBE                add.w      D3, [A6 - 0x42]
  6417. 00003D36  D86E FFC0                add.w      D4, [A6 - 0x40]
  6418. 00003D3A  3D6E FFCA FFC2           move.w     [A6 - 0x3E], [A6 - 0x36]
  6419. 00003D40  3A2E FFC8                move.w     D5, [A6 - 0x38]
  6420. 00003D44  486E FFBB                pea.l      [A6 - 0x45]
  6421. 00003D48  486E FFC8                pea.l      [A6 - 0x38]
  6422. 00003D4C  486E FFCA                pea.l      [A6 - 0x36]
  6423. 00003D50  3F04                     move.w     -[A7], D4
  6424. 00003D52  3F03                     move.w     -[A7], D3
  6425. 00003D54  4EBA 0AE2                jsr        [PC + 0xAE2 /* 00004838 */]
  6426. 00003D58  2C00                     move.l     D6, D0
  6427. 00003D5A  4A2E FFBB                tst.b      [A6 - 0x45]
  6428. 00003D5E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6429. 00003D62  6700 00B2                beq        +0xB4 /* 00003E16 */
  6430. 00003D66  302A 0030                move.w     D0, [A2 + 0x30]
  6431. 00003D6A  906A 002C                sub.w      D0, [A2 + 0x2C]
  6432. 00003D6E  C1EE FFC8                muls.w     D0, [A6 - 0x38]
  6433. 00003D72  2D40 FFB6                move.l     [A6 - 0x4A], D0
  6434. 00003D76  3045                     movea.w    A0, D5
  6435. 00003D78  2F08                     move.l     -[A7], A0
  6436. 00003D7A  2F00                     move.l     -[A7], D0
  6437. 00003D7C  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  6438. 00003D80  2D40 FFB6                move.l     [A6 - 0x4A], D0
  6439. 00003D84  3A2E FFC8                move.w     D5, [A6 - 0x38]
  6440. 00003D88  2205                     move.l     D1, D5
  6441. 00003D8A  48C1                     ext.l      D1
  6442. 00003D8C  83FC 0002                divs.w     D1, 0x2
  6443. 00003D90  4841                     swap.w     D1
  6444. 00003D92  4A41                     tst.w      D1
  6445. 00003D94  6702                     beq        +0x4 /* 00003D98 */
  6446. 00003D96  5245                     addq.w     D5, 1
  6447. label00003D98:
  6448. 00003D98  3D6E FFB8 FFC8           move.w     [A6 - 0x38], [A6 - 0x48]
  6449. 00003D9E  302E FFC8                move.w     D0, [A6 - 0x38]
  6450. 00003DA2  48C0                     ext.l      D0
  6451. 00003DA4  81FC 0002                divs.w     D0, 0x2
  6452. 00003DA8  4840                     swap.w     D0
  6453. 00003DAA  4A40                     tst.w      D0
  6454. 00003DAC  670A                     beq        +0xC /* 00003DB8 */
  6455. 00003DAE  7001                     moveq.l    D0, 0x01
  6456. 00003DB0  D06E FFC8                add.w      D0, [A6 - 0x38]
  6457. 00003DB4  3D40 FFC8                move.w     [A6 - 0x38], D0
  6458. label00003DB8:
  6459. 00003DB8  3D52 FFE6                move.w     [A6 - 0x1A], [A2]
  6460. 00003DBC  3D7C 2334 FFE8           move.w     [A6 - 0x18], 0x2334 /* '#4' */
  6461. 00003DC2  3D6A 002C FFEA           move.w     [A6 - 0x16], [A2 + 0x2C]
  6462. 00003DC8  3D6A 002E FFEC           move.w     [A6 - 0x14], [A2 + 0x2E]
  6463. 00003DCE  302A 002C                move.w     D0, [A2 + 0x2C]
  6464. 00003DD2  D06E FFC8                add.w      D0, [A6 - 0x38]
  6465. 00003DD6  3D40 FFEE                move.w     [A6 - 0x12], D0
  6466. 00003DDA  3D6A 0032 FFF0           move.w     [A6 - 0x10], [A2 + 0x32]
  6467. 00003DE0  3D6E FFC2 FFF2           move.w     [A6 - 0xE], [A6 - 0x3E]
  6468. 00003DE6  3D45 FFF4                move.w     [A6 - 0xC], D5
  6469. 00003DEA  0C6E 0147 FFCA           cmpi.w     [A6 - 0x36], 0x147
  6470. 00003DF0  6E10                     bgt        +0x12 /* 00003E02 */
  6471. 00003DF2  0C6E 00FF FFC8           cmpi.w     [A6 - 0x38], 0xFF
  6472. 00003DF8  6E08                     bgt        +0xA /* 00003E02 */
  6473. 00003DFA  3D7C 0002 FFF6           move.w     [A6 - 0xA], 0x2
  6474. 00003E00  6004                     bra        +0x6 /* 00003E06 */
  6475. label00003E02:
  6476. 00003E02  426E FFF6                clr.w      [A6 - 0xA]
  6477. label00003E06:
  6478. 00003E06  4267                     clr.w      -[A7]
  6479. 00003E08  486E FFCE                pea.l      [A6 - 0x32]
  6480. 00003E0C  4227                     clr.b      -[A7]
  6481. 00003E0E  4EAD 0000                jsr        [A5 + 0x0]
  6482. 00003E12  3C1F                     move.w     D6, [A7]+
  6483. 00003E14  48C6                     ext.l      D6
  6484. label00003E16:
  6485. 00003E16  4A86                     tst.l      D6
  6486. 00003E18  6622                     bne        +0x24 /* 00003E3C */
  6487. 00003E1A  422A 00C3                clr.b      [A2 + 0xC3]
  6488. 00003E1E  2003                     move.l     D0, D3
  6489. 00003E20  48C0                     ext.l      D0
  6490. 00003E22  81FC 0002                divs.w     D0, 0x2
  6491. 00003E26  4840                     swap.w     D0
  6492. 00003E28  4A40                     tst.w      D0
  6493. 00003E2A  6708                     beq        +0xA /* 00003E34 */
  6494. 00003E2C  5243                     addq.w     D3, 1
  6495. 00003E2E  157C 0001 00C3           move.b     [A2 + 0xC3], 0x1
  6496. label00003E34:
  6497. 00003E34  3D43 FFEA                move.w     [A6 - 0x16], D3
  6498. 00003E38  3D44 FFEC                move.w     [A6 - 0x14], D4
  6499. label00003E3C:
  6500. 00003E3C  3D52 FFE6                move.w     [A6 - 0x1A], [A2]
  6501. 00003E40  3D7C 2337 FFE8           move.w     [A6 - 0x18], 0x2337 /* '#7' */
  6502. 00003E46  4A86                     tst.l      D6
  6503. 00003E48  6610                     bne        +0x12 /* 00003E5A */
  6504. 00003E4A  4267                     clr.w      -[A7]
  6505. 00003E4C  486E FFCE                pea.l      [A6 - 0x32]
  6506. 00003E50  4227                     clr.b      -[A7]
  6507. 00003E52  4EAD 0000                jsr        [A5 + 0x0]
  6508. 00003E56  3C1F                     move.w     D6, [A7]+
  6509. 00003E58  48C6                     ext.l      D6
  6510. label00003E5A:
  6511. 00003E5A  4A2E FFBD                tst.b      [A6 - 0x43]
  6512. 00003E5E  671E                     beq        +0x20 /* 00003E7E */
  6513. 00003E60  3D52 FFE6                move.w     [A6 - 0x1A], [A2]
  6514. 00003E64  3D7C 2344 FFE8           move.w     [A6 - 0x18], 0x2344 /* '#D' */
  6515. 00003E6A  4A86                     tst.l      D6
  6516. 00003E6C  6610                     bne        +0x12 /* 00003E7E */
  6517. 00003E6E  4267                     clr.w      -[A7]
  6518. 00003E70  486E FFCE                pea.l      [A6 - 0x32]
  6519. 00003E74  4227                     clr.b      -[A7]
  6520. 00003E76  4EAD 0000                jsr        [A5 + 0x0]
  6521. 00003E7A  3C1F                     move.w     D6, [A7]+
  6522. 00003E7C  48C6                     ext.l      D6
  6523. label00003E7E:
  6524. 00003E7E  4A2E FFBC                tst.b      [A6 - 0x44]
  6525. 00003E82  671E                     beq        +0x20 /* 00003EA2 */
  6526. 00003E84  3D52 FFE6                move.w     [A6 - 0x1A], [A2]
  6527. 00003E88  3D7C 2345 FFE8           move.w     [A6 - 0x18], 0x2345 /* '#E' */
  6528. 00003E8E  4A86                     tst.l      D6
  6529. 00003E90  6610                     bne        +0x12 /* 00003EA2 */
  6530. 00003E92  4267                     clr.w      -[A7]
  6531. 00003E94  486E FFCE                pea.l      [A6 - 0x32]
  6532. 00003E98  4227                     clr.b      -[A7]
  6533. 00003E9A  4EAD 0000                jsr        [A5 + 0x0]
  6534. 00003E9E  3C1F                     move.w     D6, [A7]+
  6535. 00003EA0  48C6                     ext.l      D6
  6536. label00003EA2:
  6537. 00003EA2  4A86                     tst.l      D6
  6538. 00003EA4  6616                     bne        +0x18 /* 00003EBC */
  6539. 00003EA6  2F0C                     move.l     -[A7], A4
  6540. 00003EA8  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  6541. 00003EAC  AA05                     syscall    CopyPixMap
  6542. 00003EAE  206E 0010                movea.l    A0, [A6 + 0x10]
  6543. 00003EB2  2550 0034                move.l     [A2 + 0x34], [A0]
  6544. 00003EB6  2568 0004 0038           move.l     [A2 + 0x38], [A0 + 0x4]
  6545. label00003EBC:
  6546. 00003EBC  2F0B                     move.l     -[A7], A3
  6547. 00003EBE  486A 0044                pea.l      [A2 + 0x44]
  6548. 00003EC2  4EBA 09E6                jsr        [PC + 0x9E6 /* 000048AA */]
  6549. 00003EC6  2547 003C                move.l     [A2 + 0x3C], D7
  6550. 00003ECA  356E FFB0 0040           move.w     [A2 + 0x40], [A6 - 0x50]
  6551. 00003ED0  356E FFAE 0042           move.w     [A2 + 0x42], [A6 - 0x52]
  6552. 00003ED6  3543 00B2                move.w     [A2 + 0xB2], D3
  6553. 00003EDA  3544 00B4                move.w     [A2 + 0xB4], D4
  6554. 00003EDE  42AA 00B6                clr.l      [A2 + 0xB6]
  6555. 00003EE2  2D46 001C                move.l     [A6 + 0x1C], D6
  6556. 00003EE6  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  6557. 00003EEA  4E5E                     unlink     A6
  6558. 00003EEC  205F                     movea.l    A0, [A7]+
  6559. 00003EEE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6560. 00003EF2  4ED0                     jmp        [A0]
  6561. 00003EF4  9653                     sub.w      D3, [A3]
  6562. 00003EF6  6574                     bcs        +0x76 /* 00003F6C */
  6563. 00003EF8  506C 6179                addq.w     [A4 + 0x6179], 8
  6564. 00003EFC  5468 7275                addq.w     [A0 + 0x7275], 2
  6565. 00003F00  4465                     neg.w      -[A5]
  6566. 00003F02  7374                     moveq.l    D1, 0x74
  6567. 00003F04  696E                     bvs        +0x70 /* 00003F74 */
  6568. 00003F06  6174                     bsr        +0x76 /* 00003F7C */
  6569. 00003F08  696F                     bvs        +0x71 /* 00003F79 */
  6570. 00003F0A  6E00 0000                bgt        +0x2 /* 00003F0C */
  6571. // begin alternate branch 00003F0C-00003F12
  6572. label00003F0C:
  6573. 00003F0C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6574. 00003F10  FFCE                     .invalid   <<F/7/7>>
  6575. // end alternate branch 00003F0C-00003F12
  6576. label00003F0C: // (misaligned)
  6577. 00003F0E  4E56 FFCE                link       A6, -0x0032
  6578. 00003F12  48E7 0108                movem.l    -[A7], D7,A4
  6579. 00003F16  7E00                     moveq.l    D7, 0x00
  6580. 00003F18  206E 000A                movea.l    A0, [A6 + 0xA]
  6581. 00003F1C  2850                     movea.l    A4, [A0]
  6582. 00003F1E  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  6583. 00003F22  3D7C 2340 FFE8           move.w     [A6 - 0x18], 0x2340 /* '#@' */
  6584. 00003F28  3D7C 0001 FFEA           move.w     [A6 - 0x16], 0x1
  6585. 00003F2E  4267                     clr.w      -[A7]
  6586. 00003F30  486E FFCE                pea.l      [A6 - 0x32]
  6587. 00003F34  4227                     clr.b      -[A7]
  6588. 00003F36  4EAD 0000                jsr        [A5 + 0x0]
  6589. 00003F3A  3E1F                     move.w     D7, [A7]+
  6590. 00003F3C  48C7                     ext.l      D7
  6591. 00003F3E  4A87                     tst.l      D7
  6592. 00003F40  6640                     bne        +0x42 /* 00003F82 */
  6593. 00003F42  3D7C 2341 FFE8           move.w     [A6 - 0x18], 0x2341 /* '#A' */
  6594. 00003F48  302E 0008                move.w     D0, [A6 + 0x8]
  6595. 00003F4C  670E                     beq        +0x10 /* 00003F5C */
  6596. 00003F4E  6B12                     bmi        +0x14 /* 00003F62 */
  6597. 00003F50  5540                     subq.w     D0, 2
  6598. 00003F52  6A0E                     bpl        +0x10 /* 00003F62 */
  6599. 00003F54  3D7C 0001 FFEA           move.w     [A6 - 0x16], 0x1
  6600. 00003F5A  6010                     bra        +0x12 /* 00003F6C */
  6601. label00003F5C:
  6602. 00003F5C  426E FFEA                clr.w      [A6 - 0x16]
  6603. 00003F60  600A                     bra        +0xC /* 00003F6C */
  6604. label00003F62:
  6605. 00003F62  2D7C FFFF F766 000E      move.l     [A6 + 0xE], 0xFFFFF766
  6606. 00003F6A  6024                     bra        +0x26 /* 00003F90 */
  6607. label00003F6C:
  6608. 00003F6C  3D7C 0001 FFEC           move.w     [A6 - 0x14], 0x1
  6609. 00003F72  4267                     clr.w      -[A7]
  6610. label00003F74:
  6611. 00003F74  486E FFCE                pea.l      [A6 - 0x32]
  6612. 00003F78  4227                     clr.b      -[A7]
  6613. 00003F7A  4EAD 0000                jsr        [A5 + 0x0]
  6614. // begin alternate branch 00003F7C-00003F80
  6615. fn00003F7C:
  6616. 00003F7C  0000 3E1F                ori.b      D0, 0x1F
  6617. // end alternate branch 00003F7C-00003F80
  6618. fn00003F7C: // (misaligned)
  6619. 00003F7E  3E1F                     move.w     D7, [A7]+
  6620. 00003F80  48C7                     ext.l      D7
  6621. label00003F82:
  6622. 00003F82  4A87                     tst.l      D7
  6623. 00003F84  6606                     bne        +0x8 /* 00003F8C */
  6624. 00003F86  396E 0008 006A           move.w     [A4 + 0x6A], [A6 + 0x8]
  6625. label00003F8C:
  6626. 00003F8C  2D47 000E                move.l     [A6 + 0xE], D7
  6627. label00003F90:
  6628. 00003F90  4CDF 1080                movem.l    D7,A4, [A7]+
  6629. 00003F94  4E5E                     unlink     A6
  6630. 00003F96  205F                     movea.l    A0, [A7]+
  6631. 00003F98  5C8F                     addq.l     A7, 6
  6632. 00003F9A  4ED0                     jmp        [A0]
  6633. 00003F9C  9053                     sub.w      D0, [A3]
  6634. 00003F9E  6574                     bcs        +0x76 /* 00004014 */
  6635. 00003FA0  506C 6179                addq.w     [A4 + 0x6179], 8
  6636. 00003FA4  5468 7275                addq.w     [A0 + 0x7275], 2
  6637. 00003FA8  4F6E 4F66                chk.w      D7, [A6 + 0x4F66]
  6638. 00003FAC  6600 0000                bne        +0x2 /* 00003FAE */
  6639. // begin alternate branch 00003FAE-00003FB8
  6640. label00003FAE:
  6641. 00003FAE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6642. 00003FB2  0000 48E7                ori.b      D0, 0xE7
  6643. 00003FB6  0108                     btst       A0, D0
  6644. // end alternate branch 00003FAE-00003FB8
  6645. label00003FAE: // (misaligned)
  6646. 00003FB0  4E56 0000                link       A6, 0
  6647. 00003FB4  48E7 0108                movem.l    -[A7], D7,A4
  6648. 00003FB8  7E00                     moveq.l    D7, 0x00
  6649. 00003FBA  206E 0018                movea.l    A0, [A6 + 0x18]
  6650. 00003FBE  2850                     movea.l    A4, [A0]
  6651. 00003FC0  2F2C 000C                move.l     -[A7], [A4 + 0xC]
  6652. 00003FC4  226E 0014                movea.l    A1, [A6 + 0x14]
  6653. 00003FC8  2F11                     move.l     -[A7], [A1]
  6654. 00003FCA  AA05                     syscall    CopyPixMap
  6655. 00003FCC  206E 0010                movea.l    A0, [A6 + 0x10]
  6656. 00003FD0  20AC 0034                move.l     [A0], [A4 + 0x34]
  6657. 00003FD4  216C 0038 0004           move.l     [A0 + 0x4], [A4 + 0x38]
  6658. 00003FDA  486C 0044                pea.l      [A4 + 0x44]
  6659. 00003FDE  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  6660. 00003FE2  4EBA 08C6                jsr        [PC + 0x8C6 /* 000048AA */]
  6661. 00003FE6  206E 0008                movea.l    A0, [A6 + 0x8]
  6662. 00003FEA  4290                     clr.l      [A0]
  6663. 00003FEC  2D47 001C                move.l     [A6 + 0x1C], D7
  6664. 00003FF0  4CDF 1080                movem.l    D7,A4, [A7]+
  6665. 00003FF4  4E5E                     unlink     A6
  6666. 00003FF6  205F                     movea.l    A0, [A7]+
  6667. 00003FF8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6668. 00003FFC  4ED0                     jmp        [A0]
  6669. 00003FFE  9647                     sub.w      D3, D7
  6670. 00004000  6574                     bcs        +0x76 /* 00004076 */
  6671. 00004002  506C 6179                addq.w     [A4 + 0x6179], 8
  6672. 00004006  5468 7275                addq.w     [A0 + 0x7275], 2
  6673. 0000400A  4465                     neg.w      -[A5]
  6674. 0000400C  7374                     moveq.l    D1, 0x74
  6675. 0000400E  696E                     bvs        +0x70 /* 0000407E */
  6676. 00004010  6174                     bsr        +0x76 /* 00004086 */
  6677. 00004012  696F                     bvs        +0x71 /* 00004083 */
  6678. label00004014:
  6679. 00004014  6E00 0000                bgt        +0x2 /* 00004016 */
  6680. // begin alternate branch 00004016-0000401C
  6681. label00004016:
  6682. 00004016  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6683. 0000401A  FFCE                     .invalid   <<F/7/7>>
  6684. // end alternate branch 00004016-0000401C
  6685. label00004016: // (misaligned)
  6686. 00004018  4E56 FFCE                link       A6, -0x0032
  6687. 0000401C  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  6688. 00004020  7E00                     moveq.l    D7, 0x00
  6689. 00004022  206E 0012                movea.l    A0, [A6 + 0x12]
  6690. 00004026  2850                     movea.l    A4, [A0]
  6691. 00004028  4A2E 0010                tst.b      [A6 + 0x10]
  6692. 0000402C  6700 00EE                beq        +0xF0 /* 0000411C */
  6693. 00004030  4AAC 00B6                tst.l      [A4 + 0xB6]
  6694. 00004034  660C                     bne        +0xE /* 00004042 */
  6695. 00004036  3C2C 00B2                move.w     D6, [A4 + 0xB2]
  6696. 0000403A  3A2C 00B4                move.w     D5, [A4 + 0xB4]
  6697. 0000403E  6000 00BA                bra        +0xBC /* 000040FA */
  6698. label00004042:
  6699. 00004042  206C 00B6                movea.l    A0, [A4 + 0xB6]
  6700. 00004046  2050                     movea.l    A0, [A0]
  6701. 00004048  2650                     movea.l    A3, [A0]
  6702. 0000404A  206C 00B6                movea.l    A0, [A4 + 0xB6]
  6703. 0000404E  2050                     movea.l    A0, [A0]
  6704. 00004050  302C 00BA                move.w     D0, [A4 + 0xBA]
  6705. 00004054  9068 0006                sub.w      D0, [A0 + 0x6]
  6706. 00004058  306C 0040                movea.w    A0, [A4 + 0x40]
  6707. 0000405C  2F08                     move.l     -[A7], A0
  6708. 0000405E  220B                     move.l     D1, A3
  6709. 00004060  92AC 003C                sub.l      D1, [A4 + 0x3C]
  6710. 00004064  2F01                     move.l     -[A7], D1
  6711. 00004066  2200                     move.l     D1, D0
  6712. 00004068  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  6713. 0000406C  C141                     exg        D0, D1
  6714. 0000406E  D041                     add.w      D0, D1
  6715. 00004070  3C00                     move.w     D6, D0
  6716. 00004072  4A2C 00C3                tst.b      [A4 + 0xC3]
  6717. label00004076:
  6718. 00004076  6702                     beq        +0x4 /* 0000407A */
  6719. 00004078  5246                     addq.w     D6, 1
  6720. label0000407A:
  6721. 0000407A  2006                     move.l     D0, D6
  6722. 0000407C  48C0                     ext.l      D0
  6723. label0000407E:
  6724. 0000407E  81FC 0002                divs.w     D0, 0x2
  6725. 00004082  4840                     swap.w     D0
  6726. 00004084  4A40                     tst.w      D0
  6727. fn00004086:
  6728. 00004086  6702                     beq        +0x4 /* 0000408A */
  6729. 00004088  5246                     addq.w     D6, 1
  6730. label0000408A:
  6731. 0000408A  0C6C 0020 0042           cmpi.w     [A4 + 0x42], 0x20 /* ' ' */
  6732. 00004090  6640                     bne        +0x42 /* 000040D2 */
  6733. 00004092  206C 00B6                movea.l    A0, [A4 + 0xB6]
  6734. 00004096  2050                     movea.l    A0, [A0]
  6735. 00004098  302C 00BC                move.w     D0, [A4 + 0xBC]
  6736. 0000409C  9068 0008                sub.w      D0, [A0 + 0x8]
  6737. 000040A0  322C 0040                move.w     D1, [A4 + 0x40]
  6738. 000040A4  48C1                     ext.l      D1
  6739. 000040A6  83FC 0004                divs.w     D1, 0x4
  6740. 000040AA  3041                     movea.w    A0, D1
  6741. 000040AC  2F08                     move.l     -[A7], A0
  6742. 000040AE  4878 0004                push.l     0x4
  6743. 000040B2  220B                     move.l     D1, A3
  6744. 000040B4  92AC 003C                sub.l      D1, [A4 + 0x3C]
  6745. 000040B8  2F01                     move.l     -[A7], D1
  6746. 000040BA  2200                     move.l     D1, D0
  6747. 000040BC  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  6748. 000040C0  C141                     exg        D0, D1
  6749. 000040C2  2F01                     move.l     -[A7], D1
  6750. 000040C4  2200                     move.l     D1, D0
  6751. 000040C6  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  6752. 000040CA  C141                     exg        D0, D1
  6753. 000040CC  D041                     add.w      D0, D1
  6754. 000040CE  3A00                     move.w     D5, D0
  6755. 000040D0  6028                     bra        +0x2A /* 000040FA */
  6756. label000040D2:
  6757. 000040D2  206C 00B6                movea.l    A0, [A4 + 0xB6]
  6758. 000040D6  2050                     movea.l    A0, [A0]
  6759. 000040D8  302C 00BC                move.w     D0, [A4 + 0xBC]
  6760. 000040DC  9068 0008                sub.w      D0, [A0 + 0x8]
  6761. 000040E0  306C 0040                movea.w    A0, [A4 + 0x40]
  6762. 000040E4  2F08                     move.l     -[A7], A0
  6763. 000040E6  220B                     move.l     D1, A3
  6764. 000040E8  92AC 003C                sub.l      D1, [A4 + 0x3C]
  6765. 000040EC  2F01                     move.l     -[A7], D1
  6766. 000040EE  2200                     move.l     D1, D0
  6767. 000040F0  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  6768. 000040F4  C141                     exg        D0, D1
  6769. 000040F6  D041                     add.w      D0, D1
  6770. 000040F8  3A00                     move.w     D5, D0
  6771. label000040FA:
  6772. 000040FA  3946 009C                move.w     [A4 + 0x9C], D6
  6773. 000040FE  3945 009E                move.w     [A4 + 0x9E], D5
  6774. 00004102  3954 0098                move.w     [A4 + 0x98], [A4]
  6775. 00004106  397C 2337 009A           move.w     [A4 + 0x9A], 0x2337 /* '#7' */
  6776. 0000410C  4267                     clr.w      -[A7]
  6777. 0000410E  486C 0080                pea.l      [A4 + 0x80]
  6778. 00004112  4227                     clr.b      -[A7]
  6779. 00004114  4EAD 0000                jsr        [A5 + 0x0]
  6780. 00004118  3E1F                     move.w     D7, [A7]+
  6781. 0000411A  48C7                     ext.l      D7
  6782. label0000411C:
  6783. 0000411C  42AC 008C                clr.l      [A4 + 0x8C]
  6784. 00004120  3954 0098                move.w     [A4 + 0x98], [A4]
  6785. 00004124  397C 2342 009A           move.w     [A4 + 0x9A], 0x2342 /* '#B' */
  6786. 0000412A  426C 009C                clr.w      [A4 + 0x9C]
  6787. 0000412E  4267                     clr.w      -[A7]
  6788. 00004130  486C 0080                pea.l      [A4 + 0x80]
  6789. 00004134  1F3C 0001                move.b     -[A7], 0x1
  6790. 00004138  4EAD 0000                jsr        [A5 + 0x0]
  6791. 0000413C  3E1F                     move.w     D7, [A7]+
  6792. 0000413E  48C7                     ext.l      D7
  6793. 00004140  296E 000C 00B6           move.l     [A4 + 0xB6], [A6 + 0xC]
  6794. 00004146  296E 0008 00BA           move.l     [A4 + 0xBA], [A6 + 0x8]
  6795. 0000414C  2D47 0016                move.l     [A6 + 0x16], D7
  6796. 00004150  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  6797. 00004154  4E5E                     unlink     A6
  6798. 00004156  205F                     movea.l    A0, [A7]+
  6799. 00004158  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6800. 0000415C  4ED0                     jmp        [A0]
  6801. 0000415E  9147                     subx.w     D0, D7
  6802. 00004160  7261                     moveq.l    D1, 0x61
  6803. 00004162  624F                     bhi        +0x51 /* 000041B3 */
  6804. 00004164  6E65                     bgt        +0x67 /* 000041CB */
  6805. 00004166  4672 616D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  6806. 0000416A  6541                     bcs        +0x43 /* 000041AD */
  6807. 0000416C  7379                     moveq.l    D1, 0x79
  6808. 0000416E  6E63                     bgt        +0x65 /* 000041D3 */
  6809. 00004170  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6810. // begin alternate branch 00004172-00004176
  6811. fn00004172:
  6812. 00004172  4E56 FFCE                link       A6, -0x0032
  6813. // end alternate branch 00004172-00004176
  6814. fn00004172: // (misaligned)
  6815. 00004174  FFCE                     .invalid   <<F/7/7>>
  6816. 00004176  48E7 0308                movem.l    -[A7], D6,D7,A4
  6817. 0000417A  7E00                     moveq.l    D7, 0x00
  6818. 0000417C  206E 0008                movea.l    A0, [A6 + 0x8]
  6819. 00004180  2850                     movea.l    A4, [A0]
  6820. 00004182  42AE FFDA                clr.l      [A6 - 0x26]
  6821. 00004186  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  6822. 0000418A  3D7C 2342 FFE8           move.w     [A6 - 0x18], 0x2342 /* '#B' */
  6823. 00004190  4267                     clr.w      -[A7]
  6824. 00004192  486E FFCE                pea.l      [A6 - 0x32]
  6825. 00004196  4227                     clr.b      -[A7]
  6826. 00004198  4EAD 0000                jsr        [A5 + 0x0]
  6827. 0000419C  3C1F                     move.w     D6, [A7]+
  6828. 0000419E  48C6                     ext.l      D6
  6829. 000041A0  4A6E FFEA                tst.w      [A6 - 0x16]
  6830. 000041A4  6602                     bne        +0x4 /* 000041A8 */
  6831. 000041A6  7E01                     moveq.l    D7, 0x01
  6832. label000041A8:
  6833. 000041A8  2D47 000C                move.l     [A6 + 0xC], D7
  6834. 000041AC  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  6835. 000041B0  4E5E                     unlink     A6
  6836. 000041B2  2E9F                     move.l     [A7], [A7]+
  6837. 000041B4  4E75                     rts
  6838. 000041B6  8444                     or.w       D2, D4
  6839. 000041B8  6F6E                     ble        +0x70 /* 00004228 */
  6840. 000041BA  6500 0000                bcs        +0x2 /* 000041BC */
  6841. // begin alternate branch 000041BC-000041C4
  6842. label000041BC:
  6843. 000041BC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6844. 000041C0  0000 2F07                ori.b      D0, 0x7
  6845. // end alternate branch 000041BC-000041C4
  6846. label000041BC: // (misaligned)
  6847. 000041BE  4E56 0000                link       A6, 0
  6848. 000041C2  2F07                     move.l     -[A7], D7
  6849. 000041C4  7E00                     moveq.l    D7, 0x00
  6850. 000041C6  206E 0008                movea.l    A0, [A6 + 0x8]
  6851. 000041CA  30BC 0002                move.w     [A0], 0x2
  6852. 000041CE  2D47 000C                move.l     [A6 + 0xC], D7
  6853. 000041D2  2E1F                     move.l     D7, [A7]+
  6854. 000041D4  4E5E                     unlink     A6
  6855. 000041D6  2E9F                     move.l     [A7], [A7]+
  6856. 000041D8  4E75                     rts
  6857. 000041DA  9147                     subx.w     D0, D7
  6858. 000041DC  6574                     bcs        +0x76 /* 00004252 */
  6859. 000041DE  4E75                     rts
  6860. 000041E0  6D62                     blt        +0x64 /* 00004244 */
  6861. 000041E2  6572                     bcs        +0x74 /* 00004256 */
  6862. 000041E4  4F66                     chk.w      D7, -[A6]
  6863. 000041E6  496E 7075                chk.w      D4, [A6 + 0x7075]
  6864. 000041EA  7473                     moveq.l    D2, 0x73
  6865. 000041EC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6866. 000041F0  0000 2F07                ori.b      D0, 0x7
  6867. 000041F4  7E00                     moveq.l    D7, 0x00
  6868. 000041F6  302E 000C                move.w     D0, [A6 + 0xC]
  6869. 000041FA  6708                     beq        +0xA /* 00004204 */
  6870. 000041FC  6B18                     bmi        +0x1A /* 00004216 */
  6871. 000041FE  5540                     subq.w     D0, 2
  6872. 00004200  6A14                     bpl        +0x16 /* 00004216 */
  6873. 00004202  6008                     bra        +0xA /* 0000420C */
  6874. label00004204:
  6875. 00004204  206E 0008                movea.l    A0, [A6 + 0x8]
  6876. 00004208  4250                     clr.w      [A0]
  6877. 0000420A  6014                     bra        +0x16 /* 00004220 */
  6878. label0000420C:
  6879. 0000420C  206E 0008                movea.l    A0, [A6 + 0x8]
  6880. 00004210  30BC 0001                move.w     [A0], 0x1
  6881. 00004214  600A                     bra        +0xC /* 00004220 */
  6882. label00004216:
  6883. 00004216  2D7C FFFF F766 000E      move.l     [A6 + 0xE], 0xFFFFF766
  6884. 0000421E  6004                     bra        +0x6 /* 00004224 */
  6885. label00004220:
  6886. 00004220  2D47 000E                move.l     [A6 + 0xE], D7
  6887. label00004224:
  6888. 00004224  2E1F                     move.l     D7, [A7]+
  6889. 00004226  4E5E                     unlink     A6
  6890. label00004228:
  6891. 00004228  205F                     movea.l    A0, [A7]+
  6892. 0000422A  5C8F                     addq.l     A7, 6
  6893. 0000422C  4ED0                     jmp        [A0]
  6894. 0000422E  8E47                     or.w       D7, D7
  6895. 00004230  6574                     bcs        +0x76 /* 000042A6 */
  6896. 00004232  496E 7075                chk.w      D4, [A6 + 0x7075]
  6897. 00004236  7446                     moveq.l    D2, 0x46
  6898. 00004238  6F72                     ble        +0x74 /* 000042AC */
  6899. 0000423A  6D61                     blt        +0x63 /* 0000429D */
  6900. 0000423C  7400                     moveq.l    D2, 0x00
  6901. 0000423E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6902. 00004242  FFCE                     .invalid   <<F/7/7>>
  6903. label00004244:
  6904. 00004244  48E7 0108                movem.l    -[A7], D7,A4
  6905. 00004248  7E00                     moveq.l    D7, 0x00
  6906. 0000424A  206E 000A                movea.l    A0, [A6 + 0xA]
  6907. 0000424E  2850                     movea.l    A4, [A0]
  6908. 00004250  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  6909. // begin alternate branch 00004252-00004254
  6910. label00004252:
  6911. 00004252  FFE6                     .invalid   <<F/7/7>>
  6912. // end alternate branch 00004252-00004254
  6913. label00004252: // (misaligned)
  6914. 00004254  3D7C 232D FFE8           move.w     [A6 - 0x18], 0x232D /* '#-' */
  6915. // begin alternate branch 00004256-0000425A
  6916. label00004256:
  6917. 00004256  232D FFE8                move.l     -[A1], [A5 - 0x18]
  6918. // end alternate branch 00004256-0000425A
  6919. label00004256: // (misaligned)
  6920. 0000425A  3D6E 0008 FFEA           move.w     [A6 - 0x16], [A6 + 0x8]
  6921. 00004260  4267                     clr.w      -[A7]
  6922. 00004262  486E FFCE                pea.l      [A6 - 0x32]
  6923. 00004266  4227                     clr.b      -[A7]
  6924. 00004268  4EAD 0000                jsr        [A5 + 0x0]
  6925. 0000426C  3E1F                     move.w     D7, [A7]+
  6926. 0000426E  48C7                     ext.l      D7
  6927. 00004270  4A87                     tst.l      D7
  6928. 00004272  6606                     bne        +0x8 /* 0000427A */
  6929. 00004274  396E 0008 00BE           move.w     [A4 + 0xBE], [A6 + 0x8]
  6930. label0000427A:
  6931. 0000427A  2D47 000E                move.l     [A6 + 0xE], D7
  6932. 0000427E  4CDF 1080                movem.l    D7,A4, [A7]+
  6933. 00004282  4E5E                     unlink     A6
  6934. 00004284  205F                     movea.l    A0, [A7]+
  6935. 00004286  5C8F                     addq.l     A7, 6
  6936. 00004288  4ED0                     jmp        [A0]
  6937. 0000428A  8853                     or.w       D4, [A3]
  6938. 0000428C  6574                     bcs        +0x76 /* 00004302 */
  6939. 0000428E  496E 7075                chk.w      D4, [A6 + 0x7075]
  6940. 00004292  7400                     moveq.l    D2, 0x00
  6941. 00004294  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6942. 00004298  0000 48E7                ori.b      D0, 0xE7
  6943. 0000429C  0108                     btst       A0, D0
  6944. 0000429E  7E00                     moveq.l    D7, 0x00
  6945. 000042A0  206E 000C                movea.l    A0, [A6 + 0xC]
  6946. 000042A4  2850                     movea.l    A4, [A0]
  6947. label000042A6:
  6948. 000042A6  226E 0008                movea.l    A1, [A6 + 0x8]
  6949. 000042AA  32AC 00BE                move.w     [A1], [A4 + 0xBE]
  6950. // begin alternate branch 000042AC-000042B2
  6951. label000042AC:
  6952. 000042AC  00BE 2D47 0010           ori.l      <<invalid special address>>, 0x2D470010
  6953. // end alternate branch 000042AC-000042B2
  6954. label000042AC: // (misaligned)
  6955. 000042AE  2D47 0010                move.l     [A6 + 0x10], D7
  6956. 000042B2  4CDF 1080                movem.l    D7,A4, [A7]+
  6957. 000042B6  4E5E                     unlink     A6
  6958. 000042B8  205F                     movea.l    A0, [A7]+
  6959. 000042BA  508F                     addq.l     A7, 8
  6960. 000042BC  4ED0                     jmp        [A0]
  6961. 000042BE  8847                     or.w       D4, D7
  6962. 000042C0  6574                     bcs        +0x76 /* 00004336 */
  6963. 000042C2  496E 7075                chk.w      D4, [A6 + 0x7075]
  6964. 000042C6  7400                     moveq.l    D2, 0x00
  6965. 000042C8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  6966. 000042CC  FFCE                     .invalid   <<F/7/7>>
  6967. 000042CE  48E7 0108                movem.l    -[A7], D7,A4
  6968. 000042D2  7E00                     moveq.l    D7, 0x00
  6969. 000042D4  206E 000A                movea.l    A0, [A6 + 0xA]
  6970. 000042D8  2850                     movea.l    A4, [A0]
  6971. 000042DA  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  6972. 000042DE  3D7C 234E FFE8           move.w     [A6 - 0x18], 0x234E /* '#N' */
  6973. 000042E4  302E 0008                move.w     D0, [A6 + 0x8]
  6974. 000042E8  670E                     beq        +0x10 /* 000042F8 */
  6975. 000042EA  6B28                     bmi        +0x2A /* 00004314 */
  6976. 000042EC  5740                     subq.w     D0, 3
  6977. 000042EE  671E                     beq        +0x20 /* 0000430E */
  6978. 000042F0  6A22                     bpl        +0x24 /* 00004314 */
  6979. 000042F2  5240                     addq.w     D0, 1
  6980. 000042F4  6A10                     bpl        +0x12 /* 00004306 */
  6981. 000042F6  6006                     bra        +0x8 /* 000042FE */
  6982. label000042F8:
  6983. 000042F8  426E FFEA                clr.w      [A6 - 0x16]
  6984. 000042FC  6016                     bra        +0x18 /* 00004314 */
  6985. label000042FE:
  6986. 000042FE  3D7C 0001 FFEA           move.w     [A6 - 0x16], 0x1
  6987. // begin alternate branch 00004302-00004304
  6988. label00004302:
  6989. 00004302  FFEA                     .invalid   <<F/7/7>>
  6990. // end alternate branch 00004302-00004304
  6991. label00004302: // (misaligned)
  6992. 00004304  600E                     bra        +0x10 /* 00004314 */
  6993. label00004306:
  6994. 00004306  3D7C 0002 FFEA           move.w     [A6 - 0x16], 0x2
  6995. 0000430C  6006                     bra        +0x8 /* 00004314 */
  6996. label0000430E:
  6997. 0000430E  2E3C FFFF F766           move.l     D7, 0xFFFFF766
  6998. label00004314:
  6999. 00004314  4A87                     tst.l      D7
  7000. 00004316  6606                     bne        +0x8 /* 0000431E */
  7001. 00004318  396E 0008 00C0           move.w     [A4 + 0xC0], [A6 + 0x8]
  7002. label0000431E:
  7003. 0000431E  4267                     clr.w      -[A7]
  7004. 00004320  486E FFCE                pea.l      [A6 - 0x32]
  7005. 00004324  4227                     clr.b      -[A7]
  7006. 00004326  4EAD 0000                jsr        [A5 + 0x0]
  7007. 0000432A  3E1F                     move.w     D7, [A7]+
  7008. 0000432C  48C7                     ext.l      D7
  7009. 0000432E  2D47 000E                move.l     [A6 + 0xE], D7
  7010. 00004332  4CDF 1080                movem.l    D7,A4, [A7]+
  7011. label00004336:
  7012. 00004336  4E5E                     unlink     A6
  7013. 00004338  205F                     movea.l    A0, [A7]+
  7014. 0000433A  5C8F                     addq.l     A7, 6
  7015. 0000433C  4ED0                     jmp        [A0]
  7016. 0000433E  9053                     sub.w      D0, [A3]
  7017. 00004340  6574                     bcs        +0x76 /* 000043B6 */
  7018. 00004342  496E 7075                chk.w      D4, [A6 + 0x7075]
  7019. 00004346  7453                     moveq.l    D2, 0x53
  7020. 00004348  7461                     moveq.l    D2, 0x61
  7021. 0000434A  6E64                     bgt        +0x66 /* 000043B0 */
  7022. 0000434C  6172                     bsr        +0x74 /* 000043C0 */
  7023. 0000434E  6400 0000                bcc        +0x2 /* 00004350 */
  7024. // begin alternate branch 00004350-00004356
  7025. label00004350:
  7026. 00004350  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7027. 00004354  FFFC                     .invalid   <<F/7/7>>
  7028. // end alternate branch 00004350-00004356
  7029. label00004350: // (misaligned)
  7030. 00004352  4E56 FFFC                link       A6, -0x0004
  7031. 00004356  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  7032. 0000435A  286E 0008                movea.l    A4, [A6 + 0x8]
  7033. 0000435E  7E00                     moveq.l    D7, 0x00
  7034. 00004360  206E 000C                movea.l    A0, [A6 + 0xC]
  7035. 00004364  2650                     movea.l    A3, [A0]
  7036. 00004366  4AAB 00C4                tst.l      [A3 + 0xC4]
  7037. 0000436A  6614                     bne        +0x16 /* 00004380 */
  7038. 0000436C  2054                     movea.l    A0, [A4]
  7039. 0000436E  3010                     move.w     D0, [A0]
  7040. 00004370  48C0                     ext.l      D0
  7041. 00004372  E788                     lsl        D0, 3
  7042. 00004374  720A                     moveq.l    D1, 0x0A
  7043. 00004376  D081                     add.l      D0, D1
  7044. 00004378  A122                     syscall    NewHandle, flags=1
  7045. 0000437A  2748 00C4                move.l     [A3 + 0xC4], A0
  7046. 0000437E  6018                     bra        +0x1A /* 00004398 */
  7047. label00004380:
  7048. 00004380  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7049. 00004384  A023                     syscall    DisposHandle/DisposeHandle
  7050. 00004386  2054                     movea.l    A0, [A4]
  7051. 00004388  3010                     move.w     D0, [A0]
  7052. 0000438A  48C0                     ext.l      D0
  7053. 0000438C  E788                     lsl        D0, 3
  7054. 0000438E  720A                     moveq.l    D1, 0x0A
  7055. 00004390  D081                     add.l      D0, D1
  7056. 00004392  A122                     syscall    NewHandle, flags=1
  7057. 00004394  2748 00C4                move.l     [A3 + 0xC4], A0
  7058. label00004398:
  7059. 00004398  2054                     movea.l    A0, [A4]
  7060. 0000439A  226B 00C4                movea.l    A1, [A3 + 0xC4]
  7061. 0000439E  2251                     movea.l    A1, [A1]
  7062. 000043A0  3290                     move.w     [A1], [A0]
  7063. 000043A2  7C00                     moveq.l    D6, 0x00
  7064. 000043A4  6000 0132                bra        +0x134 /* 000044D8 */
  7065. label000043A8:
  7066. 000043A8  700C                     moveq.l    D0, 0x0C
  7067. 000043AA  C1C6                     muls.w     D0, D6
  7068. 000043AC  2054                     movea.l    A0, [A4]
  7069. 000043AE  2470 080A                movea.l    A2, [A0 + D0 + 0xA]
  7070. // begin alternate branch 000043B0-000043B4
  7071. label000043B0:
  7072. 000043B0  080A 2252                btst.b     A2, 0x52 /* 'R' */
  7073. // end alternate branch 000043B0-000043B4
  7074. label000043B0: // (misaligned)
  7075. 000043B2  2252                     movea.l    A1, [A2]
  7076. 000043B4  2A11                     move.l     D5, [A1]
  7077. label000043B6:
  7078. 000043B6  700C                     moveq.l    D0, 0x0C
  7079. 000043B8  C1C6                     muls.w     D0, D6
  7080. 000043BA  2D70 080E FFFC           move.l     [A6 - 0x4], [A0 + D0 + 0xE]
  7081. fn000043C0:
  7082. 000043C0  306B 0040                movea.w    A0, [A3 + 0x40]
  7083. 000043C4  2F08                     move.l     -[A7], A0
  7084. 000043C6  2005                     move.l     D0, D5
  7085. 000043C8  90AB 003C                sub.l      D0, [A3 + 0x3C]
  7086. 000043CC  2F00                     move.l     -[A7], D0
  7087. 000043CE  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  7088. 000043D2  322E FFFC                move.w     D1, [A6 - 0x4]
  7089. 000043D6  9269 0006                sub.w      D1, [A1 + 0x6]
  7090. 000043DA  D041                     add.w      D0, D1
  7091. 000043DC  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7092. 000043E0  2206                     move.l     D1, D6
  7093. 000043E2  48C1                     ext.l      D1
  7094. 000043E4  E789                     lsl        D1, 3
  7095. 000043E6  2050                     movea.l    A0, [A0]
  7096. 000043E8  3180 1802                move.w     [A0 + D1 + 0x2], D0
  7097. 000043EC  3800                     move.w     D4, D0
  7098. 000043EE  4A2B 00C3                tst.b      [A3 + 0xC3]
  7099. 000043F2  6710                     beq        +0x12 /* 00004404 */
  7100. 000043F4  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7101. 000043F8  2006                     move.l     D0, D6
  7102. 000043FA  48C0                     ext.l      D0
  7103. 000043FC  E788                     lsl        D0, 3
  7104. 000043FE  2050                     movea.l    A0, [A0]
  7105. 00004400  5270 0802                addq.w     [A0 + D0 + 0x2], 1
  7106. label00004404:
  7107. 00004404  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7108. 00004408  2006                     move.l     D0, D6
  7109. 0000440A  48C0                     ext.l      D0
  7110. 0000440C  E788                     lsl        D0, 3
  7111. 0000440E  2050                     movea.l    A0, [A0]
  7112. 00004410  3030 0802                move.w     D0, [A0 + D0 + 0x2]
  7113. 00004414  48C0                     ext.l      D0
  7114. 00004416  81FC 0002                divs.w     D0, 0x2
  7115. 0000441A  4840                     swap.w     D0
  7116. 0000441C  4A40                     tst.w      D0
  7117. 0000441E  6710                     beq        +0x12 /* 00004430 */
  7118. 00004420  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7119. 00004424  2006                     move.l     D0, D6
  7120. 00004426  48C0                     ext.l      D0
  7121. 00004428  E788                     lsl        D0, 3
  7122. 0000442A  2050                     movea.l    A0, [A0]
  7123. 0000442C  5270 0802                addq.w     [A0 + D0 + 0x2], 1
  7124. label00004430:
  7125. 00004430  0C6B 0020 0042           cmpi.w     [A3 + 0x42], 0x20 /* ' ' */
  7126. 00004436  6644                     bne        +0x46 /* 0000447C */
  7127. 00004438  302B 0040                move.w     D0, [A3 + 0x40]
  7128. 0000443C  48C0                     ext.l      D0
  7129. 0000443E  81FC 0004                divs.w     D0, 0x4
  7130. 00004442  3040                     movea.w    A0, D0
  7131. 00004444  2F08                     move.l     -[A7], A0
  7132. 00004446  4878 0004                push.l     0x4
  7133. 0000444A  2005                     move.l     D0, D5
  7134. 0000444C  90AB 003C                sub.l      D0, [A3 + 0x3C]
  7135. 00004450  2F00                     move.l     -[A7], D0
  7136. 00004452  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  7137. 00004456  2F00                     move.l     -[A7], D0
  7138. 00004458  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  7139. 0000445C  2052                     movea.l    A0, [A2]
  7140. 0000445E  322E FFFE                move.w     D1, [A6 - 0x2]
  7141. 00004462  9268 0008                sub.w      D1, [A0 + 0x8]
  7142. 00004466  D041                     add.w      D0, D1
  7143. 00004468  226B 00C4                movea.l    A1, [A3 + 0xC4]
  7144. 0000446C  2206                     move.l     D1, D6
  7145. 0000446E  48C1                     ext.l      D1
  7146. 00004470  E789                     lsl        D1, 3
  7147. 00004472  2251                     movea.l    A1, [A1]
  7148. 00004474  3380 1804                move.w     [A1 + D1 + 0x4], D0
  7149. 00004478  3600                     move.w     D3, D0
  7150. 0000447A  6038                     bra        +0x3A /* 000044B4 */
  7151. label0000447C:
  7152. 0000447C  302B 0040                move.w     D0, [A3 + 0x40]
  7153. 00004480  48C0                     ext.l      D0
  7154. 00004482  81FC 0004                divs.w     D0, 0x4
  7155. 00004486  3040                     movea.w    A0, D0
  7156. 00004488  2F08                     move.l     -[A7], A0
  7157. 0000448A  2005                     move.l     D0, D5
  7158. 0000448C  90AB 003C                sub.l      D0, [A3 + 0x3C]
  7159. 00004490  2F00                     move.l     -[A7], D0
  7160. 00004492  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  7161. 00004496  2052                     movea.l    A0, [A2]
  7162. 00004498  322E FFFE                move.w     D1, [A6 - 0x2]
  7163. 0000449C  9268 0008                sub.w      D1, [A0 + 0x8]
  7164. 000044A0  D041                     add.w      D0, D1
  7165. 000044A2  226B 00C4                movea.l    A1, [A3 + 0xC4]
  7166. 000044A6  2206                     move.l     D1, D6
  7167. 000044A8  48C1                     ext.l      D1
  7168. 000044AA  E789                     lsl        D1, 3
  7169. 000044AC  2251                     movea.l    A1, [A1]
  7170. 000044AE  3380 1804                move.w     [A1 + D1 + 0x4], D0
  7171. 000044B2  3600                     move.w     D3, D0
  7172. label000044B4:
  7173. 000044B4  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7174. 000044B8  2006                     move.l     D0, D6
  7175. 000044BA  48C0                     ext.l      D0
  7176. 000044BC  E788                     lsl        D0, 3
  7177. 000044BE  2050                     movea.l    A0, [A0]
  7178. 000044C0  31AB 0042 0806           move.w     [A0 + D0 + 0x6], [A3 + 0x42]
  7179. 000044C6  206B 00C4                movea.l    A0, [A3 + 0xC4]
  7180. 000044CA  2006                     move.l     D0, D6
  7181. 000044CC  48C0                     ext.l      D0
  7182. 000044CE  E788                     lsl        D0, 3
  7183. 000044D0  2050                     movea.l    A0, [A0]
  7184. 000044D2  4230 0808                clr.b      [A0 + D0 + 0x8]
  7185. 000044D6  5246                     addq.w     D6, 1
  7186. label000044D8:
  7187. 000044D8  2054                     movea.l    A0, [A4]
  7188. 000044DA  BC50                     cmp.w      D6, [A0]
  7189. 000044DC  6D00 FECA                blt        -0x134 /* 000043A8 */
  7190. 000044E0  2D47 0010                move.l     [A6 + 0x10], D7
  7191. 000044E4  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  7192. 000044E8  4E5E                     unlink     A6
  7193. 000044EA  205F                     movea.l    A0, [A7]+
  7194. 000044EC  508F                     addq.l     A7, 8
  7195. 000044EE  4ED0                     jmp        [A0]
  7196. 000044F0  8C53                     or.w       D6, [A3]
  7197. 000044F2  6574                     bcs        +0x76 /* 00004568 */
  7198. 000044F4  7570                     moveq.l    D2, 0x70
  7199. 000044F6  4275 6666                clr.w      [A5 + D6.w * 8 + 0x66]
  7200. 000044FA  6572                     bcs        +0x74 /* 0000456E */
  7201. 000044FC  7300                     moveq.l    D1, 0x00
  7202. 000044FE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7203. 00004502  FFCE                     .invalid   <<F/7/7>>
  7204. 00004504  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  7205. 00004508  3E2E 0008                move.w     D7, [A6 + 0x8]
  7206. 0000450C  7C00                     moveq.l    D6, 0x00
  7207. 0000450E  206E 000A                movea.l    A0, [A6 + 0xA]
  7208. 00004512  2850                     movea.l    A4, [A0]
  7209. 00004514  226C 00C4                movea.l    A1, [A4 + 0xC4]
  7210. 00004518  2007                     move.l     D0, D7
  7211. 0000451A  48C0                     ext.l      D0
  7212. 0000451C  E788                     lsl        D0, 3
  7213. 0000451E  2251                     movea.l    A1, [A1]
  7214. 00004520  3971 0802 009C           move.w     [A4 + 0x9C], [A1 + D0 + 0x2]
  7215. 00004526  226C 00C4                movea.l    A1, [A4 + 0xC4]
  7216. 0000452A  2007                     move.l     D0, D7
  7217. 0000452C  48C0                     ext.l      D0
  7218. 0000452E  E788                     lsl        D0, 3
  7219. 00004530  2251                     movea.l    A1, [A1]
  7220. 00004532  3971 0804 009E           move.w     [A4 + 0x9E], [A1 + D0 + 0x4]
  7221. 00004538  3954 0098                move.w     [A4 + 0x98], [A4]
  7222. 0000453C  397C 2337 009A           move.w     [A4 + 0x9A], 0x2337 /* '#7' */
  7223. 00004542  4267                     clr.w      -[A7]
  7224. 00004544  486C 0080                pea.l      [A4 + 0x80]
  7225. 00004548  4227                     clr.b      -[A7]
  7226. 0000454A  4EAD 0000                jsr        [A5 + 0x0]
  7227. 0000454E  3C1F                     move.w     D6, [A7]+
  7228. 00004550  48C6                     ext.l      D6
  7229. 00004552  42AC 008C                clr.l      [A4 + 0x8C]
  7230. 00004556  3954 0098                move.w     [A4 + 0x98], [A4]
  7231. 0000455A  397C 2342 009A           move.w     [A4 + 0x9A], 0x2342 /* '#B' */
  7232. 00004560  426C 009C                clr.w      [A4 + 0x9C]
  7233. 00004564  4A86                     tst.l      D6
  7234. 00004566  6612                     bne        +0x14 /* 0000457A */
  7235. label00004568:
  7236. 00004568  4267                     clr.w      -[A7]
  7237. 0000456A  486C 0080                pea.l      [A4 + 0x80]
  7238. label0000456E:
  7239. 0000456E  1F3C 0001                move.b     -[A7], 0x1
  7240. 00004572  4EAD 0000                jsr        [A5 + 0x0]
  7241. 00004576  3C1F                     move.w     D6, [A7]+
  7242. 00004578  48C6                     ext.l      D6
  7243. label0000457A:
  7244. 0000457A  7AFF                     moveq.l    D5, 0xFFFFFFFF
  7245. 0000457C  DA47                     add.w      D5, D7
  7246. 0000457E  4A45                     tst.w      D5
  7247. 00004580  6C0A                     bge        +0xC /* 0000458C */
  7248. 00004582  206C 00C4                movea.l    A0, [A4 + 0xC4]
  7249. 00004586  2050                     movea.l    A0, [A0]
  7250. 00004588  7AFF                     moveq.l    D5, 0xFFFFFFFF
  7251. 0000458A  DA50                     add.w      D5, [A0]
  7252. label0000458C:
  7253. 0000458C  206C 00C4                movea.l    A0, [A4 + 0xC4]
  7254. 00004590  2005                     move.l     D0, D5
  7255. 00004592  48C0                     ext.l      D0
  7256. 00004594  E788                     lsl        D0, 3
  7257. 00004596  2050                     movea.l    A0, [A0]
  7258. 00004598  11BC 0001 0808           move.b     [A0 + D0 + 0x8], 0x1
  7259. 0000459E  206C 00C4                movea.l    A0, [A4 + 0xC4]
  7260. 000045A2  2007                     move.l     D0, D7
  7261. 000045A4  48C0                     ext.l      D0
  7262. 000045A6  E788                     lsl        D0, 3
  7263. 000045A8  2050                     movea.l    A0, [A0]
  7264. 000045AA  4230 0808                clr.b      [A0 + D0 + 0x8]
  7265. 000045AE  2D46 000E                move.l     [A6 + 0xE], D6
  7266. 000045B2  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  7267. 000045B6  4E5E                     unlink     A6
  7268. 000045B8  205F                     movea.l    A0, [A7]+
  7269. 000045BA  5C8F                     addq.l     A7, 6
  7270. 000045BC  4ED0                     jmp        [A0]
  7271. 000045BE  9247                     sub.w      D1, D7
  7272. 000045C0  7261                     moveq.l    D1, 0x61
  7273. 000045C2  624F                     bhi        +0x51 /* 00004613 */
  7274. 000045C4  6E65                     bgt        +0x67 /* 0000462B */
  7275. 000045C6  4672 616D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  7276. 000045CA  6541                     bcs        +0x43 /* 0000460D */
  7277. 000045CC  7379                     moveq.l    D1, 0x79
  7278. 000045CE  6E63                     bgt        +0x65 /* 00004633 */
  7279. 000045D0  3200                     move.w     D1, D0
  7280. 000045D2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7281. 000045D6  0000 48E7                ori.b      D0, 0xE7
  7282. 000045DA  0108                     btst       A0, D0
  7283. 000045DC  7E00                     moveq.l    D7, 0x00
  7284. 000045DE  206E 000A                movea.l    A0, [A6 + 0xA]
  7285. 000045E2  2850                     movea.l    A4, [A0]
  7286. 000045E4  226C 00C4                movea.l    A1, [A4 + 0xC4]
  7287. 000045E8  302E 0008                move.w     D0, [A6 + 0x8]
  7288. 000045EC  48C0                     ext.l      D0
  7289. 000045EE  E788                     lsl        D0, 3
  7290. 000045F0  2251                     movea.l    A1, [A1]
  7291. 000045F2  4A31 0808                tst.b      [A1 + D0 + 0x8]
  7292. 000045F6  6702                     beq        +0x4 /* 000045FA */
  7293. 000045F8  7E01                     moveq.l    D7, 0x01
  7294. label000045FA:
  7295. 000045FA  4A87                     tst.l      D7
  7296. 000045FC  660C                     bne        +0xE /* 0000460A */
  7297. 000045FE  42A7                     clr.l      -[A7]
  7298. 00004600  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  7299. 00004604  4EBA FB6C                jsr        [PC - 0x494 /* 00004172 */]
  7300. 00004608  2E1F                     move.l     D7, [A7]+
  7301. label0000460A:
  7302. 0000460A  2D47 000E                move.l     [A6 + 0xE], D7
  7303. 0000460E  4CDF 1080                movem.l    D7,A4, [A7]+
  7304. 00004612  4E5E                     unlink     A6
  7305. 00004614  205F                     movea.l    A0, [A7]+
  7306. 00004616  5C8F                     addq.l     A7, 6
  7307. 00004618  4ED0                     jmp        [A0]
  7308. 0000461A  8544 6F6E                pack       D2, D4, 0x6F6E
  7309. 0000461E  6532                     bcs        +0x34 /* 00004652 */
  7310. 00004620  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7311. // begin alternate branch 00004622-00004626
  7312. fn00004622:
  7313. 00004622  4E56 FFC8                link       A6, -0x0038
  7314. // end alternate branch 00004622-00004626
  7315. fn00004622: // (misaligned)
  7316. 00004624  FFC8                     .invalid   <<F/7/7>>
  7317. 00004626  48E7 0308                movem.l    -[A7], D6,D7,A4
  7318. 0000462A  286E 000E                movea.l    A4, [A6 + 0xE]
  7319. 0000462E  7C00                     moveq.l    D6, 0x00
  7320. 00004630  4254                     clr.w      [A4]
  7321. 00004632  422E FFF9                clr.b      [A6 - 0x7]
  7322. 00004636  422E FFFA                clr.b      [A6 - 0x6]
  7323. 0000463A  422E FFFB                clr.b      [A6 - 0x5]
  7324. 0000463E  422E FFFC                clr.b      [A6 - 0x4]
  7325. 00004642  1D7C 000E FFF8           move.b     [A6 - 0x8], 0xE
  7326. 00004648  3D7C 02AD FFF6           move.w     [A6 - 0xA], 0x2AD
  7327. 0000464E  7E00                     moveq.l    D7, 0x00
  7328. 00004650  6020                     bra        +0x22 /* 00004672 */
  7329. label00004652:
  7330. 00004652  5247                     addq.w     D7, 1
  7331. 00004654  BE6E 0008                cmp.w      D7, [A6 + 0x8]
  7332. 00004658  6618                     bne        +0x1A /* 00004672 */
  7333. 0000465A  38AE FFEE                move.w     [A4], [A6 - 0x12]
  7334. 0000465E  206E 000A                movea.l    A0, [A6 + 0xA]
  7335. 00004662  10AE FFF9                move.b     [A0], [A6 - 0x7]
  7336. 00004666  7C01                     moveq.l    D6, 0x01
  7337. 00004668  226E 0012                movea.l    A1, [A6 + 0x12]
  7338. 0000466C  12BC 0001                move.b     [A1], 0x1
  7339. 00004670  600C                     bra        +0xE /* 0000467E */
  7340. label00004672:
  7341. 00004672  41EE FFC8                lea.l      A0, [A6 - 0x38]
  7342. 00004676  7015                     moveq.l    D0, 0x15
  7343. 00004678  A06E                     syscall    SlotManager
  7344. 0000467A  4A40                     tst.w      D0
  7345. 0000467C  67D4                     beq        -0x2A /* 00004652 */
  7346. label0000467E:
  7347. 0000467E  4A06                     tst.b      D6
  7348. 00004680  664C                     bne        +0x4E /* 000046CE */
  7349. 00004682  4254                     clr.w      [A4]
  7350. 00004684  422E FFF9                clr.b      [A6 - 0x7]
  7351. 00004688  422E FFFA                clr.b      [A6 - 0x6]
  7352. 0000468C  422E FFFB                clr.b      [A6 - 0x5]
  7353. 00004690  422E FFFC                clr.b      [A6 - 0x4]
  7354. 00004694  1D7C 000E FFF8           move.b     [A6 - 0x8], 0xE
  7355. 0000469A  3D7C 026F FFF6           move.w     [A6 - 0xA], 0x26F
  7356. 000046A0  7E00                     moveq.l    D7, 0x00
  7357. 000046A2  601E                     bra        +0x20 /* 000046C2 */
  7358. label000046A4:
  7359. 000046A4  5247                     addq.w     D7, 1
  7360. 000046A6  BE6E 0008                cmp.w      D7, [A6 + 0x8]
  7361. 000046AA  6616                     bne        +0x18 /* 000046C2 */
  7362. 000046AC  38AE FFEE                move.w     [A4], [A6 - 0x12]
  7363. 000046B0  206E 000A                movea.l    A0, [A6 + 0xA]
  7364. 000046B4  10AE FFF9                move.b     [A0], [A6 - 0x7]
  7365. 000046B8  7C01                     moveq.l    D6, 0x01
  7366. 000046BA  226E 0012                movea.l    A1, [A6 + 0x12]
  7367. 000046BE  4211                     clr.b      [A1]
  7368. 000046C0  600C                     bra        +0xE /* 000046CE */
  7369. label000046C2:
  7370. 000046C2  41EE FFC8                lea.l      A0, [A6 - 0x38]
  7371. 000046C6  7015                     moveq.l    D0, 0x15
  7372. 000046C8  A06E                     syscall    SlotManager
  7373. 000046CA  4A40                     tst.w      D0
  7374. 000046CC  67D6                     beq        -0x28 /* 000046A4 */
  7375. label000046CE:
  7376. 000046CE  1006                     move.b     D0, D6
  7377. 000046D0  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  7378. 000046D4  4E5E                     unlink     A6
  7379. 000046D6  4E75                     rts
  7380. 000046D8  8947 6574                pack       D4, D7, 0x6574
  7381. 000046DC  5265                     addq.w     -[A5], 1
  7382. 000046DE  664E                     bne        +0x50 /* 0000472E */
  7383. 000046E0  756D                     moveq.l    D2, 0x6D
  7384. 000046E2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7385. // begin alternate branch 000046E4-000046E8
  7386. fn000046E4:
  7387. 000046E4  4E56 FFCC                link       A6, -0x0034
  7388. // end alternate branch 000046E4-000046E8
  7389. fn000046E4: // (misaligned)
  7390. 000046E6  FFCC                     .invalid   <<F/7/7>>
  7391. 000046E8  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  7392. 000046EC  286E 000C                movea.l    A4, [A6 + 0xC]
  7393. 000046F0  7E00                     moveq.l    D7, 0x00
  7394. 000046F2  7C00                     moveq.l    D6, 0x00
  7395. 000046F4  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  7396. 000046F8  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  7397. 000046FC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  7398. 00004700  3F3C 0001                move.w     -[A7], 0x1
  7399. 00004704  4EBA FF1C                jsr        [PC - 0xE4 /* 00004622 */]
  7400. 00004708  1E00                     move.b     D7, D0
  7401. 0000470A  4A07                     tst.b      D7
  7402. 0000470C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7403. 00004710  6770                     beq        +0x72 /* 00004782 */
  7404. 00004712  206E 0014                movea.l    A0, [A6 + 0x14]
  7405. 00004716  4A10                     tst.b      [A0]
  7406. 00004718  6762                     beq        +0x64 /* 0000477C */
  7407. 0000471A  4267                     clr.w      -[A7]
  7408. 0000471C  486D 0000                pea.l      [A5 + 0x0]
  7409. 00004720  2F0C                     move.l     -[A7], A4
  7410. 00004722  4EAD 0000                jsr        [A5 + 0x0]
  7411. 00004726  3C1F                     move.w     D6, [A7]+
  7412. 00004728  42A7                     clr.l      -[A7]
  7413. 0000472A  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  7414. // begin alternate branch 0000472E-00004730
  7415. label0000472E:
  7416. 0000472E  5652                     addq.w     [A2], 3
  7417. // end alternate branch 0000472E-00004730
  7418. label0000472E: // (misaligned)
  7419. 00004730  486D 0018                pea.l      [A5 + 0x18]
  7420. 00004734  A9A1                     syscall    GetNamedResource
  7421. 00004736  265F                     movea.l    A3, [A7]+
  7422. 00004738  2F0B                     move.l     -[A7], A3
  7423. 0000473A  A992                     syscall    DetachResource
  7424. 0000473C  204B                     movea.l    A0, A3
  7425. 0000473E  A04A                     syscall    HNoPurge
  7426. 00004740  4A46                     tst.w      D6
  7427. 00004742  663E                     bne        +0x40 /* 00004782 */
  7428. 00004744  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  7429. 00004748  3D7C 2343 FFE8           move.w     [A6 - 0x18], 0x2343 /* '#C' */
  7430. 0000474E  4267                     clr.w      -[A7]
  7431. 00004750  486E FFCE                pea.l      [A6 - 0x32]
  7432. 00004754  4227                     clr.b      -[A7]
  7433. 00004756  4EAD 0000                jsr        [A5 + 0x0]
  7434. 0000475A  3C1F                     move.w     D6, [A7]+
  7435. 0000475C  6624                     bne        +0x26 /* 00004782 */
  7436. 0000475E  3D54 FFE6                move.w     [A6 - 0x1A], [A4]
  7437. 00004762  3D7C 232D FFE8           move.w     [A6 - 0x18], 0x232D /* '#-' */
  7438. 00004768  426E FFEA                clr.w      [A6 - 0x16]
  7439. 0000476C  4267                     clr.w      -[A7]
  7440. 0000476E  486E FFCE                pea.l      [A6 - 0x32]
  7441. 00004772  4227                     clr.b      -[A7]
  7442. 00004774  4EAD 0000                jsr        [A5 + 0x0]
  7443. 00004778  3C1F                     move.w     D6, [A7]+
  7444. 0000477A  6006                     bra        +0x8 /* 00004782 */
  7445. label0000477C:
  7446. 0000477C  206E 0010                movea.l    A0, [A6 + 0x10]
  7447. 00004780  3890                     move.w     [A4], [A0]
  7448. label00004782:
  7449. 00004782  4A46                     tst.w      D6
  7450. 00004784  57C0                     seq        D0
  7451. 00004786  4400                     neg.b      D0
  7452. 00004788  C007                     and.b      D0, D7
  7453. 0000478A  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  7454. 0000478E  4E5E                     unlink     A6
  7455. 00004790  4E75                     rts
  7456. 00004792  8B47 6574                pack       D5, D7, 0x6574
  7457. 00004796  3234 5265                move.w     D1, [A4 + D5.w * 2 + 0x65]
  7458. 0000479A  664E                     bne        +0x50 /* 000047EA */
  7459. 0000479C  756D                     moveq.l    D2, 0x6D
  7460. 0000479E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7461. // begin alternate branch 000047A0-000047A6
  7462. fn000047A0:
  7463. 000047A0  4E56 0000                link       A6, 0
  7464. 000047A4  2F0C                     move.l     -[A7], A4
  7465. // end alternate branch 000047A0-000047A6
  7466. fn000047A0: // (misaligned)
  7467. 000047A2  0000 2F0C                ori.b      D0, 0xC
  7468. 000047A6  42A7                     clr.l      -[A7]
  7469. 000047A8  AA29                     syscall    GetDeviceList
  7470. 000047AA  285F                     movea.l    A4, [A7]+
  7471. 000047AC  6008                     bra        +0xA /* 000047B6 */
  7472. label000047AE:
  7473. 000047AE  42A7                     clr.l      -[A7]
  7474. 000047B0  2F0C                     move.l     -[A7], A4
  7475. 000047B2  AA2B                     syscall    GetNextDevice
  7476. 000047B4  285F                     movea.l    A4, [A7]+
  7477. label000047B6:
  7478. 000047B6  2054                     movea.l    A0, [A4]
  7479. 000047B8  3010                     move.w     D0, [A0]
  7480. 000047BA  B06E 0008                cmp.w      D0, [A6 + 0x8]
  7481. 000047BE  56C0                     sne        D0
  7482. 000047C0  4400                     neg.b      D0
  7483. 000047C2  4880                     ext.w      D0
  7484. 000047C4  220C                     move.l     D1, A4
  7485. 000047C6  56C1                     sne        D1
  7486. 000047C8  4401                     neg.b      D1
  7487. 000047CA  4881                     ext.w      D1
  7488. 000047CC  C041                     and.w      D0, D1
  7489. 000047CE  66DE                     bne        -0x20 /* 000047AE */
  7490. 000047D0  200C                     move.l     D0, A4
  7491. 000047D2  670E                     beq        +0x10 /* 000047E2 */
  7492. 000047D4  206E 000A                movea.l    A0, [A6 + 0xA]
  7493. 000047D8  208C                     move.l     [A0], A4
  7494. 000047DA  2254                     movea.l    A1, [A4]
  7495. 000047DC  2029 0016                move.l     D0, [A1 + 0x16]
  7496. 000047E0  6002                     bra        +0x4 /* 000047E4 */
  7497. label000047E2:
  7498. 000047E2  7000                     moveq.l    D0, 0x00
  7499. label000047E4:
  7500. 000047E4  285F                     movea.l    A4, [A7]+
  7501. 000047E6  4E5E                     unlink     A6
  7502. 000047E8  4E75                     rts
  7503. label000047EA:
  7504. 000047EA  8747 6574                pack       D3, D7, 0x6574
  7505. 000047EE  504D                     addq.w     A5, 8
  7506. 000047F0  6170                     bsr        +0x72 /* 00004862 */
  7507. 000047F2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7508. // begin alternate branch 000047F4-000047FA
  7509. fn000047F4:
  7510. 000047F4  4E56 0000                link       A6, 0
  7511. 000047F8  2F07                     move.l     -[A7], D7
  7512. // end alternate branch 000047F4-000047FA
  7513. fn000047F4: // (misaligned)
  7514. 000047F6  0000 2F07                ori.b      D0, 0x7
  7515. 000047FA  7E00                     moveq.l    D7, 0x00
  7516. 000047FC  202E 0008                move.l     D0, [A6 + 0x8]
  7517. 00004800  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  7518. 00004804  6510                     bcs        +0x12 /* 00004816 */
  7519. 00004806  202E 000C                move.l     D0, [A6 + 0xC]
  7520. 0000480A  0680 0007 FC00           addi.l     D0, 0x7FC00
  7521. 00004810  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  7522. 00004814  6406                     bcc        +0x8 /* 0000481C */
  7523. label00004816:
  7524. 00004816  2E3C FFFF F760           move.l     D7, 0xFFFFF760
  7525. label0000481C:
  7526. 0000481C  2007                     move.l     D0, D7
  7527. 0000481E  2E1F                     move.l     D7, [A7]+
  7528. 00004820  4E5E                     unlink     A6
  7529. 00004822  4E75                     rts
  7530. 00004824  9143                     subx.w     D0, D3
  7531. 00004826  6865                     bvc        +0x67 /* 0000488D */
  7532. 00004828  636B                     bls        +0x6D /* 00004895 */
  7533. 0000482A  4164                     chk.w      D0, -[A4]
  7534. 0000482C  6472                     bcc        +0x74 /* 000048A0 */
  7535. 0000482E  6573                     bcs        +0x75 /* 000048A3 */
  7536. 00004830  7352                     moveq.l    D1, 0x52
  7537. 00004832  616E                     bsr        +0x70 /* 000048A2 */
  7538. 00004834  6765                     beq        +0x67 /* 0000489B */
  7539. 00004836  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7540. // begin alternate branch 00004838-00004840
  7541. fn00004838:
  7542. 00004838  4E56 0000                link       A6, 0
  7543. 0000483C  48E7 0308                movem.l    -[A7], D6,D7,A4
  7544. // end alternate branch 00004838-00004840
  7545. fn00004838: // (misaligned)
  7546. 0000483A  0000 48E7                ori.b      D0, 0xE7
  7547. 0000483E  0308                     btst       A0, D1
  7548. 00004840  286E 0010                movea.l    A4, [A6 + 0x10]
  7549. 00004844  3E2E 0008                move.w     D7, [A6 + 0x8]
  7550. 00004848  7C00                     moveq.l    D6, 0x00
  7551. 0000484A  206E 0014                movea.l    A0, [A6 + 0x14]
  7552. 0000484E  4210                     clr.b      [A0]
  7553. 00004850  0C47 01FE                cmpi.w     D7, 0x1FE
  7554. 00004854  6E08                     bgt        +0xA /* 0000485E */
  7555. 00004856  0C6E 03FF 000A           cmpi.w     [A6 + 0xA], 0x3FF
  7556. 0000485C  6F06                     ble        +0x8 /* 00004864 */
  7557. label0000485E:
  7558. 0000485E  2C3C FFFF F760           move.l     D6, 0xFFFFF760
  7559. // begin alternate branch 00004862-00004864
  7560. fn00004862:
  7561. 00004862  F760                     .extension 0x760 <<F/4-5/3>> // unimplemented
  7562. // end alternate branch 00004862-00004864
  7563. fn00004862: // (misaligned)
  7564. label00004864:
  7565. 00004864  3014                     move.w     D0, [A4]
  7566. 00004866  D047                     add.w      D0, D7
  7567. 00004868  0C40 01FE                cmpi.w     D0, 0x1FE
  7568. 0000486C  6F22                     ble        +0x24 /* 00004890 */
  7569. 0000486E  303C 01FE                move.w     D0, 0x1FE
  7570. 00004872  9047                     sub.w      D0, D7
  7571. 00004874  3880                     move.w     [A4], D0
  7572. 00004876  48C0                     ext.l      D0
  7573. 00004878  81FC 0002                divs.w     D0, 0x2
  7574. 0000487C  4840                     swap.w     D0
  7575. 0000487E  4A40                     tst.w      D0
  7576. 00004880  6706                     beq        +0x8 /* 00004888 */
  7577. 00004882  7001                     moveq.l    D0, 0x01
  7578. 00004884  D054                     add.w      D0, [A4]
  7579. 00004886  3880                     move.w     [A4], D0
  7580. label00004888:
  7581. 00004888  206E 0014                movea.l    A0, [A6 + 0x14]
  7582. 0000488C  10BC 0001                move.b     [A0], 0x1
  7583. label00004890:
  7584. 00004890  2006                     move.l     D0, D6
  7585. 00004892  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  7586. 00004896  4E5E                     unlink     A6
  7587. 00004898  4E75                     rts
  7588. 0000489A  8D43 6865                pack       D6, D3, 0x6865
  7589. 0000489E  636B                     bls        +0x6D /* 0000490B */
  7590. label000048A0:
  7591. 000048A0  4465                     neg.w      -[A5]
  7592. fn000048A2:
  7593. 000048A2  7374                     moveq.l    D1, 0x74
  7594. 000048A4  5265                     addq.w     -[A5], 1
  7595. 000048A6  6374                     bls        +0x76 /* 0000491C */
  7596. 000048A8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7597. // begin alternate branch 000048AA-000048BC
  7598. fn000048AA:
  7599. 000048AA  4E56 0000                link       A6, 0
  7600. 000048AE  48E7 0018                movem.l    -[A7], A3,A4
  7601. 000048B2  286E 000C                movea.l    A4, [A6 + 0xC]
  7602. 000048B6  266E 0008                movea.l    A3, [A6 + 0x8]
  7603. 000048BA  200C                     move.l     D0, A4
  7604. // end alternate branch 000048AA-000048BC
  7605. fn000048AA: // (misaligned)
  7606. 000048AC  0000 48E7                ori.b      D0, 0xE7
  7607. 000048B0  0018 286E                ori.b      [A0]+, 0x6E /* 'n' */
  7608. 000048B4  000C 266E                ori.b      A4, 0x6E /* 'n' */
  7609. 000048B8  0008 200C                ori.b      A0, 0xC
  7610. 000048BC  6736                     beq        +0x38 /* 000048F4 */
  7611. 000048BE  200B                     move.l     D0, A3
  7612. 000048C0  6732                     beq        +0x34 /* 000048F4 */
  7613. 000048C2  2694                     move.l     [A3], [A4]
  7614. 000048C4  276C 0004 0004           move.l     [A3 + 0x4], [A4 + 0x4]
  7615. 000048CA  276C 0008 0008           move.l     [A3 + 0x8], [A4 + 0x8]
  7616. 000048D0  276C 000C 000C           move.l     [A3 + 0xC], [A4 + 0xC]
  7617. 000048D6  276C 0010 0010           move.l     [A3 + 0x10], [A4 + 0x10]
  7618. 000048DC  276C 0014 0014           move.l     [A3 + 0x14], [A4 + 0x14]
  7619. 000048E2  276C 0018 0018           move.l     [A3 + 0x18], [A4 + 0x18]
  7620. 000048E8  276C 001C 001C           move.l     [A3 + 0x1C], [A4 + 0x1C]
  7621. 000048EE  276C 0020 0020           move.l     [A3 + 0x20], [A4 + 0x20]
  7622. label000048F4:
  7623. 000048F4  4CDF 1800                movem.l    A3,A4, [A7]+
  7624. 000048F8  4E5E                     unlink     A6
  7625. 000048FA  205F                     movea.l    A0, [A7]+
  7626. 000048FC  508F                     addq.l     A7, 8
  7627. 000048FE  4ED0                     jmp        [A0]
  7628. 00004900  8A4D                     or.w       D5, A5
  7629. 00004902  6174                     bsr        +0x76 /* 00004978 */
  7630. 00004904  7269                     moveq.l    D1, 0x69
  7631. 00004906  7843                     moveq.l    D4, 0x43
  7632. 00004908  6F70                     ble        +0x72 /* 0000497A */
  7633. 0000490A  7900                     moveq.l    D4, 0x00
  7634. 0000490C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7635. // begin alternate branch 0000490E-00004912
  7636. fn0000490E:
  7637. 0000490E  4E56 FFC2                link       A6, -0x003E
  7638. // end alternate branch 0000490E-00004912
  7639. fn0000490E: // (misaligned)
  7640. 00004910  FFC2                     .invalid   <<F/7/7>>
  7641. 00004912  2F0C                     move.l     -[A7], A4
  7642. 00004914  42AE FFC2                clr.l      [A6 - 0x3E]
  7643. 00004918  42A7                     clr.l      -[A7]
  7644. 0000491A  AA32                     syscall    GetGDevice
  7645. label0000491C:
  7646. 0000491C  285F                     movea.l    A4, [A7]+
  7647. 0000491E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  7648. 00004922  AA31                     syscall    SetGDevice
  7649. 00004924  203C 0000 0808           move.l     D0, 0x808
  7650. 0000492A  A322                     syscall    NewHandleClear, flags=3
  7651. 0000492C  2D48 FFFC                move.l     [A6 - 0x4], A0
  7652. 00004930  42A7                     clr.l      -[A7]
  7653. 00004932  AA28                     syscall    GetCTSeed
  7654. 00004934  206E FFFC                movea.l    A0, [A6 - 0x4]
  7655. 00004938  2050                     movea.l    A0, [A0]
  7656. 0000493A  209F                     move.l     [A0], [A7]+
  7657. 0000493C  206E FFFC                movea.l    A0, [A6 - 0x4]
  7658. 00004940  2050                     movea.l    A0, [A0]
  7659. 00004942  317C 00FF 0006           move.w     [A0 + 0x6], 0xFF
  7660. 00004948  486E FFFC                pea.l      [A6 - 0x4]
  7661. 0000494C  4EBA 0034                jsr        [PC + 0x34 /* 00004982 */]
  7662. 00004950  2F3C 00FF 0000           move.l     -[A7], 0xFF0000
  7663. 00004956  206E FFFC                movea.l    A0, [A6 - 0x4]
  7664. 0000495A  2050                     movea.l    A0, [A0]
  7665. 0000495C  4868 0008                pea.l      [A0 + 0x8]
  7666. 00004960  AA3F                     syscall    SetEntries
  7667. 00004962  206E FFFC                movea.l    A0, [A6 - 0x4]
  7668. 00004966  A023                     syscall    DisposHandle/DisposeHandle
  7669. 00004968  2F0C                     move.l     -[A7], A4
  7670. 0000496A  AA31                     syscall    SetGDevice
  7671. 0000496C  285F                     movea.l    A4, [A7]+
  7672. 0000496E  4E5E                     unlink     A6
  7673. 00004970  205F                     movea.l    A0, [A7]+
  7674. 00004972  5C8F                     addq.l     A7, 6
  7675. 00004974  4ED0                     jmp        [A0]
  7676. 00004976  8957                     or.w       [A7], D4
  7677. fn00004978:
  7678. 00004978  6861                     bvc        +0x63 /* 000049DB */
  7679. label0000497A:
  7680. 0000497A  636B                     bls        +0x6D /* 000049E7 */
  7681. 0000497C  434C                     chk.w      D1, A4
  7682. 0000497E  5554                     subq.w     [A4], 2
  7683. 00004980  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7684. // begin alternate branch 00004982-0000498A
  7685. fn00004982:
  7686. 00004982  4E56 0000                link       A6, 0
  7687. 00004986  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  7688. // end alternate branch 00004982-0000498A
  7689. fn00004982: // (misaligned)
  7690. 00004984  0000 48E7                ori.b      D0, 0xE7
  7691. 00004988  0F08                     btst       A0, D7
  7692. 0000498A  286E 0008                movea.l    A4, [A6 + 0x8]
  7693. 0000498E  7800                     moveq.l    D4, 0x00
  7694. 00004990  7E00                     moveq.l    D7, 0x00
  7695. 00004992  606C                     bra        +0x6E /* 00004A00 */
  7696. label00004994:
  7697. 00004994  7C00                     moveq.l    D6, 0x00
  7698. 00004996  605E                     bra        +0x60 /* 000049F6 */
  7699. label00004998:
  7700. 00004998  7A00                     moveq.l    D5, 0x00
  7701. 0000499A  6050                     bra        +0x52 /* 000049EC */
  7702. label0000499C:
  7703. 0000499C  2054                     movea.l    A0, [A4]
  7704. 0000499E  2004                     move.l     D0, D4
  7705. 000049A0  48C0                     ext.l      D0
  7706. 000049A2  E788                     lsl        D0, 3
  7707. 000049A4  2050                     movea.l    A0, [A0]
  7708. 000049A6  3184 0808                move.w     [A0 + D0 + 0x8], D4
  7709. 000049AA  3007                     move.w     D0, D7
  7710. 000049AC  4640                     not.w      D0
  7711. 000049AE  E148                     lsl        D0.w, 8
  7712. 000049B0  2054                     movea.l    A0, [A4]
  7713. 000049B2  2204                     move.l     D1, D4
  7714. 000049B4  48C1                     ext.l      D1
  7715. 000049B6  E789                     lsl        D1, 3
  7716. 000049B8  2050                     movea.l    A0, [A0]
  7717. 000049BA  3180 180A                move.w     [A0 + D1 + 0xA], D0
  7718. 000049BE  3006                     move.w     D0, D6
  7719. 000049C0  4640                     not.w      D0
  7720. 000049C2  E148                     lsl        D0.w, 8
  7721. 000049C4  2054                     movea.l    A0, [A4]
  7722. 000049C6  2204                     move.l     D1, D4
  7723. 000049C8  48C1                     ext.l      D1
  7724. 000049CA  E789                     lsl        D1, 3
  7725. 000049CC  2050                     movea.l    A0, [A0]
  7726. 000049CE  3180 180C                move.w     [A0 + D1 + 0xC], D0
  7727. 000049D2  3005                     move.w     D0, D5
  7728. 000049D4  4640                     not.w      D0
  7729. 000049D6  E148                     lsl        D0.w, 8
  7730. 000049D8  2054                     movea.l    A0, [A4]
  7731. 000049DA  2204                     move.l     D1, D4
  7732. 000049DC  48C1                     ext.l      D1
  7733. 000049DE  E789                     lsl        D1, 3
  7734. 000049E0  2050                     movea.l    A0, [A0]
  7735. 000049E2  3180 180E                move.w     [A0 + D1 + 0xE], D0
  7736. 000049E6  5244                     addq.w     D4, 1
  7737. 000049E8  0645 003F                addi.w     D5, 0x3F /* '?' */
  7738. label000049EC:
  7739. 000049EC  0C45 00FB                cmpi.w     D5, 0xFB
  7740. 000049F0  6FAA                     ble        -0x54 /* 0000499C */
  7741. 000049F2  0646 001F                addi.w     D6, 0x1F
  7742. label000049F6:
  7743. 000049F6  0C46 00F7                cmpi.w     D6, 0xF7
  7744. 000049FA  6F9C                     ble        -0x62 /* 00004998 */
  7745. 000049FC  0647 001F                addi.w     D7, 0x1F
  7746. label00004A00:
  7747. 00004A00  0C47 00F7                cmpi.w     D7, 0xF7
  7748. 00004A04  6F8E                     ble        -0x70 /* 00004994 */
  7749. 00004A06  4CDF 10F0                movem.l    D4,D5,D6,D7,A4, [A7]+
  7750. 00004A0A  4E5E                     unlink     A6
  7751. 00004A0C  2E9F                     move.l     [A7], [A7]+
  7752. 00004A0E  4E75                     rts
  7753. 00004A10  9047                     sub.w      D0, D7
  7754. 00004A12  6574                     bcs        +0x76 /* 00004A88 */
  7755. 00004A14  3333 3243                move.w     -[A1], [A3 + D3.w * 2 + 0x43]
  7756. 00004A18  6F6C                     ble        +0x6E /* 00004A86 */
  7757. 00004A1A  6F72                     ble        +0x74 /* 00004A8E */
  7758. 00004A1C  5461                     addq.w     -[A1], 2
  7759. 00004A1E  626C                     bhi        +0x6E /* 00004A8C */
  7760. 00004A20  6500 0000                bcs        +0x2 /* 00004A22 */
  7761. // begin alternate branch 00004A22-00004A28
  7762. label00004A22:
  7763. 00004A22  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7764. fn00004A24: // (misaligned)
  7765. 00004A26  FFFE                     .invalid   <<F/7/7>>
  7766. // end alternate branch 00004A22-00004A28
  7767. label00004A22: // (misaligned)
  7768. fn00004A24:
  7769. 00004A24  4E56 FFFE                link       A6, -0x0002
  7770. 00004A28  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  7771. 00004A2C  206E 000A                movea.l    A0, [A6 + 0xA]
  7772. 00004A30  2050                     movea.l    A0, [A0]
  7773. 00004A32  2068 0016                movea.l    A0, [A0 + 0x16]
  7774. 00004A36  2050                     movea.l    A0, [A0]
  7775. 00004A38  2E10                     move.l     D7, [A0]
  7776. 00004A3A  0287 FF00 0000           andi.l     D7, 0xFF000000
  7777. 00004A40  2007                     move.l     D0, D7
  7778. 00004A42  0680 00FE 6018           addi.l     D0, 0xFE6018
  7779. 00004A48  2840                     movea.l    A4, D0
  7780. 00004A4A  2007                     move.l     D0, D7
  7781. 00004A4C  0680 00FE 7004           addi.l     D0, 0xFE7004
  7782. 00004A52  2640                     movea.l    A3, D0
  7783. 00004A54  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  7784. 00004A5A  41EE FFFF                lea.l      A0, [A6 - 0x1]
  7785. 00004A5E  1010                     move.b     D0, [A0]
  7786. 00004A60  A05D                     syscall    SwapMMUMode
  7787. 00004A62  1080                     move.b     [A0], D0
  7788. 00004A64  2C14                     move.l     D6, [A4]
  7789. 00004A66  7003                     moveq.l    D0, 0x03
  7790. 00004A68  2880                     move.l     [A4], D0
  7791. 00004A6A  3A13                     move.w     D5, [A3]
  7792. 00004A6C  36AE 0008                move.w     [A3], [A6 + 0x8]
  7793. 00004A70  2886                     move.l     [A4], D6
  7794. 00004A72  41EE FFFF                lea.l      A0, [A6 - 0x1]
  7795. 00004A76  1010                     move.b     D0, [A0]
  7796. 00004A78  A05D                     syscall    SwapMMUMode
  7797. 00004A7A  1080                     move.b     [A0], D0
  7798. 00004A7C  3005                     move.w     D0, D5
  7799. 00004A7E  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  7800. 00004A82  4E5E                     unlink     A6
  7801. 00004A84  4E75                     rts
  7802. label00004A86:
  7803. 00004A86  8F50                     or.w       [A0], D7
  7804. label00004A88:
  7805. 00004A88  6F75                     ble        +0x77 /* 00004AFF */
  7806. 00004A8A  6E64                     bgt        +0x66 /* 00004AF0 */
  7807. label00004A8C:
  7808. 00004A8C  3336 3448                move.w     -[A1], [A6 + D3.w * 4 + 0x48]
  7809. // begin alternate branch 00004A8E-00004A90
  7810. label00004A8E:
  7811. 00004A8E  3448                     movea.w    A2, A0
  7812. // end alternate branch 00004A8E-00004A90
  7813. label00004A8E: // (misaligned)
  7814. 00004A90  6F6C                     ble        +0x6E /* 00004AFE */
  7815. 00004A92  644F                     bcc        +0x51 /* 00004AE3 */
  7816. 00004A94  6666                     bne        +0x68 /* 00004AFC */
  7817. 00004A96  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7818. // begin alternate branch 00004A98-00004A9C
  7819. fn00004A98:
  7820. 00004A98  4E56 FFCE                link       A6, -0x0032
  7821. // end alternate branch 00004A98-00004A9C
  7822. fn00004A98: // (misaligned)
  7823. 00004A9A  FFCE                     .invalid   <<F/7/7>>
  7824. 00004A9C  2F07                     move.l     -[A7], D7
  7825. 00004A9E  7E00                     moveq.l    D7, 0x00
  7826. 00004AA0  3D6E 000A FFE6           move.w     [A6 - 0x1A], [A6 + 0xA]
  7827. 00004AA6  3D7C 2338 FFE8           move.w     [A6 - 0x18], 0x2338 /* '#8' */
  7828. 00004AAC  3D6E 0008 FFEA           move.w     [A6 - 0x16], [A6 + 0x8]
  7829. 00004AB2  4267                     clr.w      -[A7]
  7830. 00004AB4  486E FFCE                pea.l      [A6 - 0x32]
  7831. 00004AB8  4227                     clr.b      -[A7]
  7832. 00004ABA  4EAD 0000                jsr        [A5 + 0x0]
  7833. 00004ABE  3E1F                     move.w     D7, [A7]+
  7834. 00004AC0  48C7                     ext.l      D7
  7835. 00004AC2  2007                     move.l     D0, D7
  7836. 00004AC4  2E1F                     move.l     D7, [A7]+
  7837. 00004AC6  4E5E                     unlink     A6
  7838. 00004AC8  4E75                     rts
  7839. 00004ACA  8F50                     or.w       [A0], D7
  7840. 00004ACC  6F75                     ble        +0x77 /* 00004B43 */
  7841. 00004ACE  6E64                     bgt        +0x66 /* 00004B34 */
  7842. 00004AD0  5354                     subq.w     [A4], 1
  7843. 00004AD2  5648                     addq.w     A0, 3
  7844. 00004AD4  6F6C                     ble        +0x6E /* 00004B42 */
  7845. 00004AD6  644F                     bcc        +0x51 /* 00004B27 */
  7846. 00004AD8  6666                     bne        +0x68 /* 00004B40 */
  7847. 00004ADA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7848. 00004ADE  FFEC                     .invalid   <<F/7/7>>
  7849. 00004AE0  2D7C 7664 6967 FFEC      move.l     [A6 - 0x14], 0x76646967 /* 'vdig' */
  7850. 00004AE8  2D7C 2020 2020 FFF0      move.l     [A6 - 0x10], 0x20202020 /* '    ' */
  7851. label00004AF0:
  7852. 00004AF0  2D7C 726F 7073 FFF4      move.l     [A6 - 0xC], 0x726F7073 /* 'rops' */
  7853. 00004AF8  42AE FFF8                clr.l      [A6 - 0x8]
  7854. label00004AFC:
  7855. 00004AFC  42AE FFFC                clr.l      [A6 - 0x4]
  7856. // begin alternate branch 00004AFE-00004B00
  7857. label00004AFE:
  7858. 00004AFE  FFFC                     .invalid   <<F/7/7>>
  7859. // end alternate branch 00004AFE-00004B00
  7860. label00004AFE: // (misaligned)
  7861. 00004B00  42A7                     clr.l      -[A7]
  7862. 00004B02  486E FFEC                pea.l      [A6 - 0x14]
  7863. 00004B06  486D 0000                pea.l      [A5 + 0x0]
  7864. 00004B0A  3F3C 0001                move.w     -[A7], 0x1
  7865. 00004B0E  42A7                     clr.l      -[A7]
  7866. 00004B10  42A7                     clr.l      -[A7]
  7867. 00004B12  42A7                     clr.l      -[A7]
  7868. 00004B14  7001                     moveq.l    D0, 0x01
  7869. 00004B16  A82A                     syscall    ComponentDispatch
  7870. 00004B18  201F                     move.l     D0, [A7]+
  7871. 00004B1A  4E5E                     unlink     A6
  7872. 00004B1C  4E75                     rts
  7873. 00004B1E  9652                     sub.w      D3, [A2]
  7874. 00004B20  6567                     bcs        +0x69 /* 00004B89 */
  7875. 00004B22  6973                     bvs        +0x75 /* 00004B97 */
  7876. 00004B24  7465                     moveq.l    D2, 0x65
  7877. 00004B26  7252                     moveq.l    D1, 0x52
  7878. 00004B28  4F33 3634                .invalid   7, [A3 + D3.w * 8 + 0x34] // invalid opcode 4 with b == 4
  7879. 00004B2C  436F 6D70                chk.w      D1, [A7 + 0x6D70]
  7880. 00004B30  6F6E                     ble        +0x70 /* 00004BA0 */
  7881. 00004B32  656E                     bcs        +0x70 /* 00004BA2 */
  7882. label00004B34:
  7883. 00004B34  7400                     moveq.l    D2, 0x00
  7884. 00004B36  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  7885. 00004B3A  0000 2F2E                ori.b      D0, 0x2E /* '.' */
  7886. 00004B3E  0008 3F3C                ori.b      A0, 0x3C /* '<' */
  7887. // begin alternate branch 00004B40-00004B46
  7888. label00004B40:
  7889. 00004B40  3F3C 0017                move.w     -[A7], 0x17
  7890. label00004B42: // (misaligned)
  7891. 00004B44  A9EB                     syscall    Pack4/FP68K
  7892. // end alternate branch 00004B40-00004B46
  7893. label00004B40: // (misaligned)
  7894. label00004B42:
  7895. 00004B42  0017 A9EB                ori.b      [A7], 0xEB
  7896. 00004B46  4E5E                     unlink     A6
  7897. 00004B48  4E75                     rts
  7898. 00004B4A  4E56 0000                link       A6, 0
  7899. 00004B4E  486E 0008                pea.l      [A6 + 0x8]
  7900. 00004B52  3F3C 0019                move.w     -[A7], 0x19
  7901. 00004B56  A9EB                     syscall    Pack4/FP68K
  7902. 00004B58  4E5E                     unlink     A6
  7903. 00004B5A  4E75                     rts
  7904. 00004B5C  4E56 0000                link       A6, 0
  7905. 00004B60  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  7906. 00004B64  3F3C 0003                move.w     -[A7], 0x3
  7907. 00004B68  A9EB                     syscall    Pack4/FP68K
  7908. 00004B6A  4E5E                     unlink     A6
  7909. 00004B6C  4E75                     rts
  7910. 00004B6E  4E56 0000                link       A6, 0
  7911. 00004B72  486E 0008                pea.l      [A6 + 0x8]
  7912. 00004B76  3F3C 0001                move.w     -[A7], 0x1
  7913. 00004B7A  A9EB                     syscall    Pack4/FP68K
  7914. 00004B7C  4E5E                     unlink     A6
  7915. 00004B7E  4E75                     rts
  7916. 00004B80  4E56 0000                link       A6, 0
  7917. 00004B84  302E 0008                move.w     D0, [A6 + 0x8]
  7918. 00004B88  E148                     lsl        D0.w, 8
  7919. 00004B8A  3F00                     move.w     -[A7], D0
  7920. 00004B8C  4EBA 004C                jsr        [PC + 0x4C /* 00004BDA */]
  7921. 00004B90  4E5E                     unlink     A6
  7922. 00004B92  4E75                     rts
  7923. 00004B94  4E56 FFFE                link       A6, -0x0002
  7924. 00004B98  302E 0008                move.w     D0, [A6 + 0x8]
  7925. 00004B9C  E148                     lsl        D0.w, 8
  7926. 00004B9E  3D40 0008                move.w     [A6 + 0x8], D0
  7927. // begin alternate branch 00004BA0-00004BA8
  7928. label00004BA0:
  7929. 00004BA0  0008 4AAE                ori.b      A0, 0xAE
  7930. label00004BA2: // (misaligned)
  7931. 00004BA4  000A 6610                ori.b      A2, 0x10
  7932. // end alternate branch 00004BA0-00004BA8
  7933. label00004BA0: // (misaligned)
  7934. label00004BA2:
  7935. 00004BA2  4AAE 000A                tst.l      [A6 + 0xA]
  7936. 00004BA6  6610                     bne        +0x12 /* 00004BB8 */
  7937. 00004BA8  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  7938. 00004BAC  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  7939. 00004BB0  4EBA 004A                jsr        [PC + 0x4A /* 00004BFC */]
  7940. 00004BB4  5C8F                     addq.l     A7, 6
  7941. 00004BB6  601E                     bra        +0x20 /* 00004BD6 */
  7942. label00004BB8:
  7943. 00004BB8  486E FFFE                pea.l      [A6 - 0x2]
  7944. 00004BBC  3F3C 0003                move.w     -[A7], 0x3
  7945. 00004BC0  A9EB                     syscall    Pack4/FP68K
  7946. 00004BC2  486E 0008                pea.l      [A6 + 0x8]
  7947. 00004BC6  3F3C 0001                move.w     -[A7], 0x1
  7948. 00004BCA  A9EB                     syscall    Pack4/FP68K
  7949. 00004BCC  486E FFFE                pea.l      [A6 - 0x2]
  7950. 00004BD0  3F3C 0019                move.w     -[A7], 0x19
  7951. 00004BD4  A9EB                     syscall    Pack4/FP68K
  7952. label00004BD6:
  7953. 00004BD6  4E5E                     unlink     A6
  7954. 00004BD8  4E75                     rts
  7955. fn00004BDA:
  7956. 00004BDA  4E56 FFFE                link       A6, -0x0002
  7957. 00004BDE  486E FFFE                pea.l      [A6 - 0x2]
  7958. 00004BE2  3F3C 0003                move.w     -[A7], 0x3
  7959. 00004BE6  A9EB                     syscall    Pack4/FP68K
  7960. 00004BE8  302E FFFE                move.w     D0, [A6 - 0x2]
  7961. 00004BEC  C06E 0008                and.w      D0, [A6 + 0x8]
  7962. 00004BF0  56C0                     sne        D0
  7963. 00004BF2  4400                     neg.b      D0
  7964. 00004BF4  4880                     ext.w      D0
  7965. 00004BF6  48C0                     ext.l      D0
  7966. 00004BF8  4E5E                     unlink     A6
  7967. 00004BFA  4E75                     rts
  7968. fn00004BFC:
  7969. 00004BFC  4E56 FFFE                link       A6, -0x0002
  7970. 00004C00  486E FFFE                pea.l      [A6 - 0x2]
  7971. 00004C04  3F3C 0003                move.w     -[A7], 0x3
  7972. 00004C08  A9EB                     syscall    Pack4/FP68K
  7973. 00004C0A  4AAE 000A                tst.l      [A6 + 0xA]
  7974. 00004C0E  670A                     beq        +0xC /* 00004C1A */
  7975. 00004C10  302E 0008                move.w     D0, [A6 + 0x8]
  7976. 00004C14  816E FFFE                or.w       [A6 - 0x2], D0
  7977. 00004C18  600A                     bra        +0xC /* 00004C24 */
  7978. label00004C1A:
  7979. 00004C1A  302E 0008                move.w     D0, [A6 + 0x8]
  7980. 00004C1E  4640                     not.w      D0
  7981. 00004C20  C16E FFFE                and.w      [A6 - 0x2], D0
  7982. label00004C24:
  7983. 00004C24  486E FFFE                pea.l      [A6 - 0x2]
  7984. 00004C28  3F3C 0001                move.w     -[A7], 0x1
  7985. 00004C2C  A9EB                     syscall    Pack4/FP68K
  7986. 00004C2E  4E5E                     unlink     A6
  7987. 00004C30  4E75                     rts
  7988. 00004C32  4E56 FFFC                link       A6, -0x0004
  7989. 00004C36  486E FFFC                pea.l      [A6 - 0x4]
  7990. 00004C3A  3F3C 0007                move.w     -[A7], 0x7
  7991. 00004C3E  A9EB                     syscall    Pack4/FP68K
  7992. 00004C40  202E FFFC                move.l     D0, [A6 - 0x4]
  7993. 00004C44  4E5E                     unlink     A6
  7994. 00004C46  4E75                     rts
  7995. 00004C48  4E56 0000                link       A6, 0
  7996. 00004C4C  486E 0008                pea.l      [A6 + 0x8]
  7997. 00004C50  3F3C 0005                move.w     -[A7], 0x5
  7998. 00004C54  A9EB                     syscall    Pack4/FP68K
  7999. 00004C56  4E5E                     unlink     A6
  8000. 00004C58  4E75                     rts
  8001. 00004C5A  4E56 FFFE                link       A6, -0x0002
  8002. 00004C5E  486E FFFE                pea.l      [A6 - 0x2]
  8003. 00004C62  3F3C 0003                move.w     -[A7], 0x3
  8004. 00004C66  A9EB                     syscall    Pack4/FP68K
  8005. 00004C68  102E FFFF                move.b     D0, [A6 - 0x1]
  8006. 00004C6C  E300                     asl        D0.b, 1
  8007. 00004C6E  EC00                     asr        D0.b, 6
  8008. 00004C70  4E5E                     unlink     A6
  8009. 00004C72  4E75                     rts
  8010. 00004C74  4E56 FFFE                link       A6, -0x0002
  8011. 00004C78  486E FFFE                pea.l      [A6 - 0x2]
  8012. 00004C7C  3F3C 0003                move.w     -[A7], 0x3
  8013. 00004C80  A9EB                     syscall    Pack4/FP68K
  8014. 00004C82  102E 0008                move.b     D0, [A6 + 0x8]
  8015. 00004C86  4880                     ext.w      D0
  8016. 00004C88  022E 009F FFFF           andi.b     [A6 - 0x1], 0x9F
  8017. 00004C8E  EB08                     lsl        D0.b, 5
  8018. 00004C90  0200 0060                andi.b     D0, 0x60 /* '`' */
  8019. 00004C94  812E FFFF                or.b       [A6 - 0x1], D0
  8020. 00004C98  486E FFFE                pea.l      [A6 - 0x2]
  8021. 00004C9C  3F3C 0001                move.w     -[A7], 0x1
  8022. 00004CA0  A9EB                     syscall    Pack4/FP68K
  8023. 00004CA2  4E5E                     unlink     A6
  8024. 00004CA4  4E75                     rts
  8025. 00004CA6  4E56 FFFE                link       A6, -0x0002
  8026. 00004CAA  486E FFFE                pea.l      [A6 - 0x2]
  8027. 00004CAE  3F3C 0003                move.w     -[A7], 0x3
  8028. 00004CB2  A9EB                     syscall    Pack4/FP68K
  8029. 00004CB4  102E FFFE                move.b     D0, [A6 - 0x2]
  8030. 00004CB8  E300                     asl        D0.b, 1
  8031. 00004CBA  EC00                     asr        D0.b, 6
  8032. 00004CBC  4E5E                     unlink     A6
  8033. 00004CBE  4E75                     rts
  8034. 00004CC0  4E56 FFFE                link       A6, -0x0002
  8035. 00004CC4  486E FFFE                pea.l      [A6 - 0x2]
  8036. 00004CC8  3F3C 0003                move.w     -[A7], 0x3
  8037. 00004CCC  A9EB                     syscall    Pack4/FP68K
  8038. 00004CCE  102E 0008                move.b     D0, [A6 + 0x8]
  8039. 00004CD2  4880                     ext.w      D0
  8040. 00004CD4  022E 009F FFFE           andi.b     [A6 - 0x2], 0x9F
  8041. 00004CDA  EB08                     lsl        D0.b, 5
  8042. 00004CDC  0200 0060                andi.b     D0, 0x60 /* '`' */
  8043. 00004CE0  812E FFFE                or.b       [A6 - 0x2], D0
  8044. 00004CE4  486E FFFE                pea.l      [A6 - 0x2]
  8045. 00004CE8  3F3C 0001                move.w     -[A7], 0x1
  8046. 00004CEC  A9EB                     syscall    Pack4/FP68K
  8047. 00004CEE  4E5E                     unlink     A6
  8048. 00004CF0  4E75                     rts
  8049. 00004CF2  4E56 0000                link       A6, 0
  8050. 00004CF6  486E 000C                pea.l      [A6 + 0xC]
  8051. 00004CFA  486E 0016                pea.l      [A6 + 0x16]
  8052. 00004CFE  3F3C 0013                move.w     -[A7], 0x13
  8053. 00004D02  A9EB                     syscall    Pack4/FP68K
  8054. 00004D04  206E 0008                movea.l    A0, [A6 + 0x8]
  8055. 00004D08  43EE 000C                lea.l      A1, [A6 + 0xC]
  8056. 00004D0C  20D9                     move.l     [A0]+, [A1]+
  8057. 00004D0E  20D9                     move.l     [A0]+, [A1]+
  8058. 00004D10  30D9                     move.w     [A0]+, [A1]+
  8059. 00004D12  4E5E                     unlink     A6
  8060. 00004D14  4E75                     rts
  8061. 00004D16  4E56 FFF0                link       A6, -0x0010
  8062. 00004D1A  486E 000C                pea.l      [A6 + 0xC]
  8063. 00004D1E  486E FFF8                pea.l      [A6 - 0x8]
  8064. 00004D22  3F3C 0810                move.w     -[A7], 0x810
  8065. 00004D26  A9EB                     syscall    Pack4/FP68K
  8066. 00004D28  486E 0016                pea.l      [A6 + 0x16]
  8067. 00004D2C  486E FFF0                pea.l      [A6 - 0x10]
  8068. 00004D30  3F3C 0810                move.w     -[A7], 0x810
  8069. 00004D34  A9EB                     syscall    Pack4/FP68K
  8070. 00004D36  486E FFF8                pea.l      [A6 - 0x8]
  8071. 00004D3A  486E FFF0                pea.l      [A6 - 0x10]
  8072. 00004D3E  3F3C 0813                move.w     -[A7], 0x813
  8073. 00004D42  A9EB                     syscall    Pack4/FP68K
  8074. 00004D44  486E FFF8                pea.l      [A6 - 0x8]
  8075. 00004D48  486E 000C                pea.l      [A6 + 0xC]
  8076. 00004D4C  3F3C 080E                move.w     -[A7], 0x80E
  8077. 00004D50  A9EB                     syscall    Pack4/FP68K
  8078. 00004D52  206E 0008                movea.l    A0, [A6 + 0x8]
  8079. 00004D56  43EE 000C                lea.l      A1, [A6 + 0xC]
  8080. 00004D5A  20D9                     move.l     [A0]+, [A1]+
  8081. 00004D5C  20D9                     move.l     [A0]+, [A1]+
  8082. 00004D5E  30D9                     move.w     [A0]+, [A1]+
  8083. 00004D60  4E5E                     unlink     A6
  8084. 00004D62  4E75                     rts
  8085. 00004D64  4E56 FFF8                link       A6, -0x0008
  8086. 00004D68  486E 000C                pea.l      [A6 + 0xC]
  8087. 00004D6C  486E FFFC                pea.l      [A6 - 0x4]
  8088. 00004D70  3F3C 1010                move.w     -[A7], 0x1010
  8089. 00004D74  A9EB                     syscall    Pack4/FP68K
  8090. 00004D76  486E 0016                pea.l      [A6 + 0x16]
  8091. 00004D7A  486E FFF8                pea.l      [A6 - 0x8]
  8092. 00004D7E  3F3C 1010                move.w     -[A7], 0x1010
  8093. 00004D82  A9EB                     syscall    Pack4/FP68K
  8094. 00004D84  486E FFFC                pea.l      [A6 - 0x4]
  8095. 00004D88  486E FFF8                pea.l      [A6 - 0x8]
  8096. 00004D8C  3F3C 1013                move.w     -[A7], 0x1013
  8097. 00004D90  A9EB                     syscall    Pack4/FP68K
  8098. 00004D92  486E FFFC                pea.l      [A6 - 0x4]
  8099. 00004D96  486E 000C                pea.l      [A6 + 0xC]
  8100. 00004D9A  3F3C 100E                move.w     -[A7], 0x100E
  8101. 00004D9E  A9EB                     syscall    Pack4/FP68K
  8102. 00004DA0  206E 0008                movea.l    A0, [A6 + 0x8]
  8103. 00004DA4  43EE 000C                lea.l      A1, [A6 + 0xC]
  8104. 00004DA8  20D9                     move.l     [A0]+, [A1]+
  8105. 00004DAA  20D9                     move.l     [A0]+, [A1]+
  8106. 00004DAC  30D9                     move.w     [A0]+, [A1]+
  8107. 00004DAE  4E5E                     unlink     A6
  8108. 00004DB0  4E75                     rts
  8109. 00004DB2  4E56 FFFE                link       A6, -0x0002
  8110. 00004DB6  486E 0008                pea.l      [A6 + 0x8]
  8111. 00004DBA  486E FFFE                pea.l      [A6 - 0x2]
  8112. 00004DBE  3F3C 001C                move.w     -[A7], 0x1C
  8113. 00004DC2  A9EB                     syscall    Pack4/FP68K
  8114. 00004DC4  4A6E FFFE                tst.w      [A6 - 0x2]
  8115. 00004DC8  6C08                     bge        +0xA /* 00004DD2 */
  8116. 00004DCA  302E FFFE                move.w     D0, [A6 - 0x2]
  8117. 00004DCE  4640                     not.w      D0
  8118. 00004DD0  6006                     bra        +0x8 /* 00004DD8 */
  8119. label00004DD2:
  8120. 00004DD2  70FF                     moveq.l    D0, 0xFFFFFFFF
  8121. 00004DD4  D06E FFFE                add.w      D0, [A6 - 0x2]
  8122. label00004DD8:
  8123. 00004DD8  4E5E                     unlink     A6
  8124. 00004DDA  4E75                     rts
  8125. 00004DDC  4E56 FFF6                link       A6, -0x000A
  8126. 00004DE0  486E 0008                pea.l      [A6 + 0x8]
  8127. 00004DE4  486E FFF8                pea.l      [A6 - 0x8]
  8128. 00004DE8  3F3C 0810                move.w     -[A7], 0x810
  8129. 00004DEC  A9EB                     syscall    Pack4/FP68K
  8130. 00004DEE  486E FFF8                pea.l      [A6 - 0x8]
  8131. 00004DF2  486E FFF6                pea.l      [A6 - 0xA]
  8132. 00004DF6  3F3C 081C                move.w     -[A7], 0x81C
  8133. 00004DFA  A9EB                     syscall    Pack4/FP68K
  8134. 00004DFC  4A6E FFF6                tst.w      [A6 - 0xA]
  8135. 00004E00  6C08                     bge        +0xA /* 00004E0A */
  8136. 00004E02  302E FFF6                move.w     D0, [A6 - 0xA]
  8137. 00004E06  4640                     not.w      D0
  8138. 00004E08  6006                     bra        +0x8 /* 00004E10 */
  8139. label00004E0A:
  8140. 00004E0A  70FF                     moveq.l    D0, 0xFFFFFFFF
  8141. 00004E0C  D06E FFF6                add.w      D0, [A6 - 0xA]
  8142. label00004E10:
  8143. 00004E10  4E5E                     unlink     A6
  8144. 00004E12  4E75                     rts
  8145. 00004E14  4E56 FFFA                link       A6, -0x0006
  8146. 00004E18  486E 0008                pea.l      [A6 + 0x8]
  8147. 00004E1C  486E FFFC                pea.l      [A6 - 0x4]
  8148. 00004E20  3F3C 1010                move.w     -[A7], 0x1010
  8149. 00004E24  A9EB                     syscall    Pack4/FP68K
  8150. 00004E26  486E FFFC                pea.l      [A6 - 0x4]
  8151. 00004E2A  486E FFFA                pea.l      [A6 - 0x6]
  8152. 00004E2E  3F3C 101C                move.w     -[A7], 0x101C
  8153. 00004E32  A9EB                     syscall    Pack4/FP68K
  8154. 00004E34  4A6E FFFA                tst.w      [A6 - 0x6]
  8155. 00004E38  6C08                     bge        +0xA /* 00004E42 */
  8156. 00004E3A  302E FFFA                move.w     D0, [A6 - 0x6]
  8157. 00004E3E  4640                     not.w      D0
  8158. 00004E40  6006                     bra        +0x8 /* 00004E48 */
  8159. label00004E42:
  8160. 00004E42  70FF                     moveq.l    D0, 0xFFFFFFFF
  8161. 00004E44  D06E FFFA                add.w      D0, [A6 - 0x6]
  8162. label00004E48:
  8163. 00004E48  4E5E                     unlink     A6
  8164. 00004E4A  4E75                     rts
  8165. 00004E4C  4E56 FFFE                link       A6, -0x0002
  8166. 00004E50  486E 0008                pea.l      [A6 + 0x8]
  8167. 00004E54  486E FFFE                pea.l      [A6 - 0x2]
  8168. 00004E58  3F3C 001C                move.w     -[A7], 0x1C
  8169. 00004E5C  A9EB                     syscall    Pack4/FP68K
  8170. 00004E5E  4A6E FFFE                tst.w      [A6 - 0x2]
  8171. 00004E62  5DC0                     slt        D0
  8172. 00004E64  4400                     neg.b      D0
  8173. 00004E66  4880                     ext.w      D0
  8174. 00004E68  48C0                     ext.l      D0
  8175. 00004E6A  4E5E                     unlink     A6
  8176. 00004E6C  4E75                     rts
  8177. 00004E6E  4E56 0000                link       A6, 0
  8178. 00004E72  486E 0012                pea.l      [A6 + 0x12]
  8179. 00004E76  486E 0008                pea.l      [A6 + 0x8]
  8180. 00004E7A  3F3C 0008                move.w     -[A7], 0x8
  8181. 00004E7E  A9EB                     syscall    Pack4/FP68K
  8182. 00004E80  307C 0003                movea.w    A0, 0x3
  8183. 00004E84  690A                     bvs        +0xC /* 00004E90 */
  8184. 00004E86  6706                     beq        +0x8 /* 00004E8E */
  8185. 00004E88  6D02                     blt        +0x4 /* 00004E8C */
  8186. 00004E8A  5348                     subq.w     A0, 1
  8187. label00004E8C:
  8188. 00004E8C  5348                     subq.w     A0, 1
  8189. label00004E8E:
  8190. 00004E8E  5348                     subq.w     A0, 1
  8191. label00004E90:
  8192. 00004E90  2008                     move.l     D0, A0
  8193. 00004E92  4E5E                     unlink     A6
  8194. 00004E94  4E75                     rts
  8195. 00004E96  4E56 0000                link       A6, 0
  8196. 00004E9A  026E 7FFF 0016           andi.w     [A6 + 0x16], 0x7FFF
  8197. 00004EA0  4A6E 000C                tst.w      [A6 + 0xC]
  8198. 00004EA4  6C06                     bge        +0x8 /* 00004EAC */
  8199. 00004EA6  006E 8000 0016           ori.w      [A6 + 0x16], 0x8000
  8200. label00004EAC:
  8201. 00004EAC  206E 0008                movea.l    A0, [A6 + 0x8]
  8202. 00004EB0  43EE 0016                lea.l      A1, [A6 + 0x16]
  8203. 00004EB4  20D9                     move.l     [A0]+, [A1]+
  8204. 00004EB6  20D9                     move.l     [A0]+, [A1]+
  8205. 00004EB8  30D9                     move.w     [A0]+, [A1]+
  8206. 00004EBA  4E5E                     unlink     A6
  8207. 00004EBC  4E75                     rts
  8208. 00004EBE  206F 0004                movea.l    A0, [A7 + 0x4]
  8209. 00004EC2  226F 0008                movea.l    A1, [A7 + 0x8]
  8210. 00004EC6  2368 0006 0008           move.l     [A1 + 0x8], [A0 + 0x6]
  8211. 00004ECC  2368 0002 0004           move.l     [A1 + 0x4], [A0 + 0x2]
  8212. 00004ED2  3290                     move.w     [A1], [A0]
  8213. 00004ED4  3299                     move.w     [A1], [A1]+
  8214. 00004ED6  4E75                     rts
  8215. 00004ED8  206F 0004                movea.l    A0, [A7 + 0x4]
  8216. 00004EDC  226F 0008                movea.l    A1, [A7 + 0x8]
  8217. 00004EE0  3290                     move.w     [A1], [A0]
  8218. 00004EE2  2368 0004 0002           move.l     [A1 + 0x2], [A0 + 0x4]
  8219. 00004EE8  2368 0008 0006           move.l     [A1 + 0x6], [A0 + 0x8]
  8220. 00004EEE  4E75                     rts
  8221. 00004EF0  4E56 0000                link       A6, 0
  8222. 00004EF4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8223. 00004EF8  486E 000C                pea.l      [A6 + 0xC]
  8224. 00004EFC  2F2E 0016                move.l     -[A7], [A6 + 0x16]
  8225. 00004F00  3F3C 000B                move.w     -[A7], 0xB
  8226. 00004F04  A9EB                     syscall    Pack4/FP68K
  8227. 00004F06  4E5E                     unlink     A6
  8228. 00004F08  4E75                     rts
  8229. 00004F0A  4E56 FFF6                link       A6, -0x000A
  8230. 00004F0E  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8231. 00004F12  486E FFF6                pea.l      [A6 - 0xA]
  8232. 00004F16  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  8233. 00004F1A  A9EB                     syscall    Pack4/FP68K
  8234. 00004F1C  206E 0008                movea.l    A0, [A6 + 0x8]
  8235. 00004F20  43EE FFF6                lea.l      A1, [A6 - 0xA]
  8236. 00004F24  20D9                     move.l     [A0]+, [A1]+
  8237. 00004F26  20D9                     move.l     [A0]+, [A1]+
  8238. 00004F28  30D9                     move.w     [A0]+, [A1]+
  8239. 00004F2A  4E5E                     unlink     A6
  8240. 00004F2C  4E75                     rts
  8241. 00004F2E  4E56 0000                link       A6, 0
  8242. 00004F32  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8243. 00004F36  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8244. 00004F3A  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  8245. 00004F3E  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  8246. 00004F42  3F3C 0002                move.w     -[A7], 0x2
  8247. 00004F46  A9EE                     syscall    Pack7/DecStr68K
  8248. 00004F48  4E5E                     unlink     A6
  8249. 00004F4A  4E75                     rts
  8250. 00004F4C  4E56 0000                link       A6, 0
  8251. 00004F50  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8252. 00004F54  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8253. 00004F58  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  8254. 00004F5C  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  8255. 00004F60  3F3C 0004                move.w     -[A7], 0x4
  8256. 00004F64  A9EE                     syscall    Pack7/DecStr68K
  8257. 00004F66  4E5E                     unlink     A6
  8258. 00004F68  4E75                     rts
  8259. 00004F6A  4E56 0000                link       A6, 0
  8260. 00004F6E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8261. 00004F72  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8262. 00004F76  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  8263. 00004F7A  3F3C 0003                move.w     -[A7], 0x3
  8264. 00004F7E  A9EE                     syscall    Pack7/DecStr68K
  8265. 00004F80  4E5E                     unlink     A6
  8266. 00004F82  4E75                     rts
  8267. 00004F84  4E56 FFD8                link       A6, -0x0028
  8268. 00004F88  3D7C 0001 FFFE           move.w     [A6 - 0x2], 0x1
  8269. 00004F8E  422E FFFD                clr.b      [A6 - 0x3]
  8270. 00004F92  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8271. 00004F96  486E FFFE                pea.l      [A6 - 0x2]
  8272. 00004F9A  486E FFE2                pea.l      [A6 - 0x1E]
  8273. 00004F9E  486E FFFD                pea.l      [A6 - 0x3]
  8274. 00004FA2  3F3C 0002                move.w     -[A7], 0x2
  8275. 00004FA6  A9EE                     syscall    Pack7/DecStr68K
  8276. 00004FA8  486E FFE2                pea.l      [A6 - 0x1E]
  8277. 00004FAC  486E FFD8                pea.l      [A6 - 0x28]
  8278. 00004FB0  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  8279. 00004FB4  A9EB                     syscall    Pack4/FP68K
  8280. 00004FB6  206E 0008                movea.l    A0, [A6 + 0x8]
  8281. 00004FBA  43EE FFD8                lea.l      A1, [A6 - 0x28]
  8282. 00004FBE  20D9                     move.l     [A0]+, [A1]+
  8283. 00004FC0  20D9                     move.l     [A0]+, [A1]+
  8284. 00004FC2  30D9                     move.w     [A0]+, [A1]+
  8285. 00004FC4  4E5E                     unlink     A6
  8286. 00004FC6  4E75                     rts
  8287. 00004FC8  4E56 FFE6                link       A6, -0x001A
  8288. 00004FCC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8289. 00004FD0  486E 000C                pea.l      [A6 + 0xC]
  8290. 00004FD4  486E FFE6                pea.l      [A6 - 0x1A]
  8291. 00004FD8  3F3C 000B                move.w     -[A7], 0xB
  8292. 00004FDC  A9EB                     syscall    Pack4/FP68K
  8293. 00004FDE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8294. 00004FE2  486E FFE6                pea.l      [A6 - 0x1A]
  8295. 00004FE6  2F2E 0016                move.l     -[A7], [A6 + 0x16]
  8296. 00004FEA  3F3C 0003                move.w     -[A7], 0x3
  8297. 00004FEE  A9EE                     syscall    Pack7/DecStr68K
  8298. 00004FF0  4E5E                     unlink     A6
  8299. 00004FF2  4E75                     rts
  8300. 00004FF4  4E56 FFF6                link       A6, -0x000A
  8301. 00004FF8  486E 000C                pea.l      [A6 + 0xC]
  8302. 00004FFC  486E 0016                pea.l      [A6 + 0x16]
  8303. 00005000  486E FFF6                pea.l      [A6 - 0xA]
  8304. 00005004  3F3C C016                move.w     -[A7], 0xC016
  8305. 00005008  A9EC                     syscall    Pack5/Elems68K
  8306. 0000500A  206E 0008                movea.l    A0, [A6 + 0x8]
  8307. 0000500E  43EE FFF6                lea.l      A1, [A6 - 0xA]
  8308. 00005012  20D9                     move.l     [A0]+, [A1]+
  8309. 00005014  20D9                     move.l     [A0]+, [A1]+
  8310. 00005016  30D9                     move.w     [A0]+, [A1]+
  8311. 00005018  4E5E                     unlink     A6
  8312. 0000501A  4E75                     rts
  8313. 0000501C  4E56 FFF6                link       A6, -0x000A
  8314. 00005020  486E 000C                pea.l      [A6 + 0xC]
  8315. 00005024  486E 0016                pea.l      [A6 + 0x16]
  8316. 00005028  486E FFF6                pea.l      [A6 - 0xA]
  8317. 0000502C  3F3C C014                move.w     -[A7], 0xC014
  8318. 00005030  A9EC                     syscall    Pack5/Elems68K
  8319. 00005032  206E 0008                movea.l    A0, [A6 + 0x8]
  8320. 00005036  43EE FFF6                lea.l      A1, [A6 - 0xA]
  8321. 0000503A  20D9                     move.l     [A0]+, [A1]+
  8322. 0000503C  20D9                     move.l     [A0]+, [A1]+
  8323. 0000503E  30D9                     move.w     [A0]+, [A1]+
  8324. 00005040  4E5E                     unlink     A6
  8325. 00005042  4E75                     rts
  8326. 00005044  4E56 0000                link       A6, 0
  8327. 00005048  486E 0016                pea.l      [A6 + 0x16]
  8328. 0000504C  486E 000C                pea.l      [A6 + 0xC]
  8329. 00005050  3F3C 8010                move.w     -[A7], 0x8010
  8330. 00005054  A9EC                     syscall    Pack5/Elems68K
  8331. 00005056  206E 0008                movea.l    A0, [A6 + 0x8]
  8332. 0000505A  43EE 000C                lea.l      A1, [A6 + 0xC]
  8333. 0000505E  20D9                     move.l     [A0]+, [A1]+
  8334. 00005060  20D9                     move.l     [A0]+, [A1]+
  8335. 00005062  30D9                     move.w     [A0]+, [A1]+
  8336. 00005064  4E5E                     unlink     A6
  8337. 00005066  4E75                     rts
  8338. 00005068  4E56 0000                link       A6, 0
  8339. 0000506C  486E 0016                pea.l      [A6 + 0x16]
  8340. 00005070  486E 000C                pea.l      [A6 + 0xC]
  8341. 00005074  3F3C 8012                move.w     -[A7], 0x8012
  8342. 00005078  A9EC                     syscall    Pack5/Elems68K
  8343. 0000507A  206E 0008                movea.l    A0, [A6 + 0x8]
  8344. 0000507E  43EE 000C                lea.l      A1, [A6 + 0xC]
  8345. 00005082  20D9                     move.l     [A0]+, [A1]+
  8346. 00005084  20D9                     move.l     [A0]+, [A1]+
  8347. 00005086  30D9                     move.w     [A0]+, [A1]+
  8348. 00005088  4E5E                     unlink     A6
  8349. 0000508A  4E75                     rts
  8350. 0000508C  4E56 0000                link       A6, 0
  8351. 00005090  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8352. 00005094  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  8353. 00005098  A9EC                     syscall    Pack5/Elems68K
  8354. 0000509A  206E 000C                movea.l    A0, [A6 + 0xC]
  8355. 0000509E  226E 0008                movea.l    A1, [A6 + 0x8]
  8356. 000050A2  22D8                     move.l     [A1]+, [A0]+
  8357. 000050A4  22D8                     move.l     [A1]+, [A0]+
  8358. 000050A6  32D8                     move.w     [A1]+, [A0]+
  8359. 000050A8  4E5E                     unlink     A6
  8360. 000050AA  4E75                     rts
  8361. 000050AC  4E56 0000                link       A6, 0
  8362. 000050B0  486E 0016                pea.l      [A6 + 0x16]
  8363. 000050B4  486E 000C                pea.l      [A6 + 0xC]
  8364. 000050B8  3F3C 000C                move.w     -[A7], 0xC
  8365. 000050BC  A9EB                     syscall    Pack4/FP68K
  8366. 000050BE  206E 0020                movea.l    A0, [A6 + 0x20]
  8367. 000050C2  3080                     move.w     [A0], D0
  8368. 000050C4  206E 0008                movea.l    A0, [A6 + 0x8]
  8369. 000050C8  43EE 000C                lea.l      A1, [A6 + 0xC]
  8370. 000050CC  20D9                     move.l     [A0]+, [A1]+
  8371. 000050CE  20D9                     move.l     [A0]+, [A1]+
  8372. 000050D0  30D9                     move.w     [A0]+, [A1]+
  8373. 000050D2  4E5E                     unlink     A6
  8374. 000050D4  4E75                     rts
  8375. 000050D6  4E56 0000                link       A6, 0
  8376. 000050DA  486E 000C                pea.l      [A6 + 0xC]
  8377. 000050DE  486E 000E                pea.l      [A6 + 0xE]
  8378. 000050E2  3F3C 0018                move.w     -[A7], 0x18
  8379. 000050E6  A9EB                     syscall    Pack4/FP68K
  8380. 000050E8  206E 0008                movea.l    A0, [A6 + 0x8]
  8381. 000050EC  43EE 000E                lea.l      A1, [A6 + 0xE]
  8382. 000050F0  20D9                     move.l     [A0]+, [A1]+
  8383. 000050F2  20D9                     move.l     [A0]+, [A1]+
  8384. 000050F4  30D9                     move.w     [A0]+, [A1]+
  8385. 000050F6  4E5E                     unlink     A6
  8386. 000050F8  4E75                     rts
  8387. 000050FA  4E56 0000                link       A6, 0
  8388. 000050FE  302E 000C                move.w     D0, [A6 + 0xC]
  8389. 00005102  6602                     bne        +0x4 /* 00005106 */
  8390. 00005104  7015                     moveq.l    D0, 0x15
  8391. label00005106:
  8392. 00005106  0640 4000                addi.w     D0, 0x4000 /* '@\0' */
  8393. 0000510A  206E 0008                movea.l    A0, [A6 + 0x8]
  8394. 0000510E  30FC 7FFF                move.w     [A0]+, 0x7FFF
  8395. 00005112  30C0                     move.w     [A0]+, D0
  8396. 00005114  4298                     clr.l      [A0]+
  8397. 00005116  4258                     clr.w      [A0]+
  8398. 00005118  4E5E                     unlink     A6
  8399. 0000511A  4E75                     rts
  8400. 0000511C  4E56 0000                link       A6, 0
  8401. 00005120  486E 000E                pea.l      [A6 + 0xE]
  8402. 00005124  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  8403. 00005128  A9EB                     syscall    Pack4/FP68K
  8404. 0000512A  206E 0008                movea.l    A0, [A6 + 0x8]
  8405. 0000512E  43EE 000E                lea.l      A1, [A6 + 0xE]
  8406. 00005132  20D9                     move.l     [A0]+, [A1]+
  8407. 00005134  20D9                     move.l     [A0]+, [A1]+
  8408. 00005136  30D9                     move.w     [A0]+, [A1]+
  8409. 00005138  4E5E                     unlink     A6
  8410. 0000513A  4E75                     rts
  8411. 0000513C  4E56 0000                link       A6, 0
  8412. 00005140  486E 000E                pea.l      [A6 + 0xE]
  8413. 00005144  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  8414. 00005148  A9EC                     syscall    Pack5/Elems68K
  8415. 0000514A  206E 0008                movea.l    A0, [A6 + 0x8]
  8416. 0000514E  43EE 000E                lea.l      A1, [A6 + 0xE]
  8417. 00005152  20D9                     move.l     [A0]+, [A1]+
  8418. 00005154  20D9                     move.l     [A0]+, [A1]+
  8419. 00005156  30D9                     move.w     [A0]+, [A1]+
  8420. 00005158  4E5E                     unlink     A6
  8421. 0000515A  4E75                     rts
  8422. fn0000515C:
  8423. 0000515C  A063                     syscall    MaxApplZone
  8424. 0000515E  486D 0000                pea.l      [A5 + 0x0]
  8425. 00005162  A86E                     syscall    InitGraf
  8426. 00005164  A8FE                     syscall    InitFonts
  8427. 00005166  2F3C 0000 FFFF           move.l     -[A7], 0xFFFF
  8428. 0000516C  201F                     move.l     D0, [A7]+
  8429. 0000516E  A032                     syscall    FlushEvents
  8430. 00005170  A912                     syscall    InitWindows
  8431. 00005172  A930                     syscall    InitMenus
  8432. 00005174  A9CC                     syscall    TEInit
  8433. 00005176  42A7                     clr.l      -[A7]
  8434. 00005178  A97B                     syscall    InitDialogs
  8435. 0000517A  A850                     syscall    InitCursor
  8436. 0000517C  4E75                     rts
  8437. fn0000517E:
  8438. 0000517E  42A7                     clr.l      -[A7]
  8439. 00005180  3F3C 0080                move.w     -[A7], 0x80
  8440. 00005184  A9BF                     syscall    GetRMenu
  8441. 00005186  201F                     move.l     D0, [A7]+
  8442. 00005188  2B40 0000                move.l     [A5 + 0x0], D0
  8443. 0000518C  2F00                     move.l     -[A7], D0
  8444. 0000518E  4267                     clr.w      -[A7]
  8445. 00005190  A935                     syscall    InsertMenu
  8446. 00005192  42A7                     clr.l      -[A7]
  8447. 00005194  3F3C 0081                move.w     -[A7], 0x81
  8448. 00005198  A9BF                     syscall    GetRMenu
  8449. 0000519A  201F                     move.l     D0, [A7]+
  8450. 0000519C  2B40 0000                move.l     [A5 + 0x0], D0
  8451. 000051A0  2F00                     move.l     -[A7], D0
  8452. 000051A2  4267                     clr.w      -[A7]
  8453. 000051A4  A935                     syscall    InsertMenu
  8454. 000051A6  42A7                     clr.l      -[A7]
  8455. 000051A8  3F3C 0082                move.w     -[A7], 0x82
  8456. 000051AC  A9BF                     syscall    GetRMenu
  8457. 000051AE  201F                     move.l     D0, [A7]+
  8458. 000051B0  2B40 0000                move.l     [A5 + 0x0], D0
  8459. 000051B4  2F00                     move.l     -[A7], D0
  8460. 000051B6  4267                     clr.w      -[A7]
  8461. 000051B8  A935                     syscall    InsertMenu
  8462. 000051BA  42A7                     clr.l      -[A7]
  8463. 000051BC  3F3C 0083                move.w     -[A7], 0x83
  8464. 000051C0  A9BF                     syscall    GetRMenu
  8465. 000051C2  201F                     move.l     D0, [A7]+
  8466. 000051C4  2B40 0000                move.l     [A5 + 0x0], D0
  8467. 000051C8  2F00                     move.l     -[A7], D0
  8468. 000051CA  4267                     clr.w      -[A7]
  8469. 000051CC  A935                     syscall    InsertMenu
  8470. 000051CE  A937                     syscall    DrawMenuBar
  8471. 000051D0  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8472. 000051D4  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  8473. 000051DA  A94D                     syscall    AppendResMenu/AddResMenu
  8474. 000051DC  4E75                     rts
  8475. fn000051DE:
  8476. 000051DE  2B6D 0006 0000           move.l     [A5 + 0x0], [A5 + 0x6]
  8477. 000051E4  2B6D 000A 0004           move.l     [A5 + 0x4], [A5 + 0xA]
  8478. 000051EA  42A7                     clr.l      -[A7]
  8479. 000051EC  3F3C 0080                move.w     -[A7], 0x80
  8480. 000051F0  42A7                     clr.l      -[A7]
  8481. 000051F2  4878 FFFF                push.l     0xFFFF
  8482. 000051F6  4EAD 0000                jsr        [A5 + 0x0]
  8483. 000051FA  2B5F 0000                move.l     [A5 + 0x0], [A7]+
  8484. 000051FE  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8485. 00005202  A873                     syscall    SetPort
  8486. 00005204  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8487. 00005208  A915                     syscall    ShowWindow
  8488. 0000520A  4E75                     rts
  8489. fn0000520C:
  8490. 0000520C  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  8491. 00005210  42A7                     clr.l      -[A7]
  8492. 00005212  A924                     syscall    FrontWindow
  8493. 00005214  285F                     movea.l    A4, [A7]+
  8494. 00005216  200C                     move.l     D0, A4
  8495. 00005218  6706                     beq        +0x8 /* 00005220 */
  8496. 0000521A  302C 006C                move.w     D0, [A4 + 0x6C]
  8497. 0000521E  6002                     bra        +0x4 /* 00005222 */
  8498. label00005220:
  8499. 00005220  7000                     moveq.l    D0, 0x00
  8500. label00005222:
  8501. 00005222  3E00                     move.w     D7, D0
  8502. 00005224  4A47                     tst.w      D7
  8503. 00005226  5DC6                     slt        D6
  8504. 00005228  4406                     neg.b      D6
  8505. 0000522A  206D 0000                movea.l    A0, [A5 + 0x0]
  8506. 0000522E  1A28 006E                move.b     D5, [A0 + 0x6E]
  8507. 00005232  1F06                     move.b     -[A7], D6
  8508. 00005234  3F3C 0001                move.w     -[A7], 0x1
  8509. 00005238  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8510. 0000523C  4EBA 0082                jsr        [PC + 0x82 /* 000052C0 */]
  8511. 00005240  1E86                     move.b     [A7], D6
  8512. 00005242  3F3C 0003                move.w     -[A7], 0x3
  8513. 00005246  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8514. 0000524A  4EBA 0074                jsr        [PC + 0x74 /* 000052C0 */]
  8515. 0000524E  1E86                     move.b     [A7], D6
  8516. 00005250  3F3C 0004                move.w     -[A7], 0x4
  8517. 00005254  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8518. 00005258  4EBA 0066                jsr        [PC + 0x66 /* 000052C0 */]
  8519. 0000525C  1E86                     move.b     [A7], D6
  8520. 0000525E  3F3C 0005                move.w     -[A7], 0x5
  8521. 00005262  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8522. 00005266  4EBA 0058                jsr        [PC + 0x58 /* 000052C0 */]
  8523. 0000526A  1E86                     move.b     [A7], D6
  8524. 0000526C  3F3C 0006                move.w     -[A7], 0x6
  8525. 00005270  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8526. 00005274  4EBA 004A                jsr        [PC + 0x4A /* 000052C0 */]
  8527. 00005278  206D 0000                movea.l    A0, [A5 + 0x0]
  8528. 0000527C  4A28 006E                tst.b      [A0 + 0x6E]
  8529. 00005280  57C0                     seq        D0
  8530. 00005282  4400                     neg.b      D0
  8531. 00005284  1E80                     move.b     [A7], D0
  8532. 00005286  3F3C 0001                move.w     -[A7], 0x1
  8533. 0000528A  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8534. 0000528E  4EBA 0030                jsr        [PC + 0x30 /* 000052C0 */]
  8535. 00005292  4A06                     tst.b      D6
  8536. 00005294  4FEF 0026                lea.l      A7, [A7 + 0x26]
  8537. 00005298  660E                     bne        +0x10 /* 000052A8 */
  8538. 0000529A  206D 0000                movea.l    A0, [A5 + 0x0]
  8539. 0000529E  4A28 006E                tst.b      [A0 + 0x6E]
  8540. 000052A2  6604                     bne        +0x6 /* 000052A8 */
  8541. 000052A4  7000                     moveq.l    D0, 0x00
  8542. 000052A6  6002                     bra        +0x4 /* 000052AA */
  8543. label000052A8:
  8544. 000052A8  7001                     moveq.l    D0, 0x01
  8545. label000052AA:
  8546. 000052AA  1F00                     move.b     -[A7], D0
  8547. 000052AC  3F3C 0002                move.w     -[A7], 0x2
  8548. 000052B0  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8549. 000052B4  4EBA 000A                jsr        [PC + 0xA /* 000052C0 */]
  8550. 000052B8  508F                     addq.l     A7, 8
  8551. 000052BA  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  8552. 000052BE  4E75                     rts
  8553. fn000052C0:
  8554. 000052C0  4E56 0000                link       A6, 0
  8555. 000052C4  4A2E 000E                tst.b      [A6 + 0xE]
  8556. 000052C8  670C                     beq        +0xE /* 000052D6 */
  8557. 000052CA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8558. 000052CE  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  8559. 000052D2  A939                     syscall    EnableItem
  8560. 000052D4  600A                     bra        +0xC /* 000052E0 */
  8561. label000052D6:
  8562. 000052D6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8563. 000052DA  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  8564. 000052DE  A93A                     syscall    DisableItem
  8565. label000052E0:
  8566. 000052E0  4E5E                     unlink     A6
  8567. 000052E2  4E75                     rts
  8568. 000052E4  8665                     or.w       D3, -[A5]
  8569. 000052E6  6E61                     bgt        +0x63 /* 00005349 */
  8570. 000052E8  626C                     bhi        +0x6E /* 00005356 */
  8571. 000052EA  6500 0000                bcs        +0x2 /* 000052EC */
  8572. // begin alternate branch 000052EC-000052F6
  8573. label000052EC:
  8574. 000052EC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  8575. fn000052EE: // (misaligned)
  8576. 000052F0  FECA 48E7                .extension 0xECA <<F/2-3/7>> // unimplemented
  8577. 000052F4  0708                     btst       A0, D3
  8578. // end alternate branch 000052EC-000052F6
  8579. label000052EC: // (misaligned)
  8580. fn000052EE:
  8581. 000052EE  4E56 FECA                link       A6, -0x0136
  8582. 000052F2  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  8583. 000052F6  4267                     clr.w      -[A7]
  8584. 000052F8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8585. 000052FC  A86A                     syscall    HiWord
  8586. 000052FE  3E1F                     move.w     D7, [A7]+
  8587. 00005300  4267                     clr.w      -[A7]
  8588. 00005302  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8589. 00005306  A86B                     syscall    LoWord
  8590. 00005308  3C1F                     move.w     D6, [A7]+
  8591. 0000530A  7A00                     moveq.l    D5, 0x00
  8592. 0000530C  3007                     move.w     D0, D7
  8593. 0000530E  6B00 015A                bmi        +0x15C /* 0000546A */
  8594. 00005312  0440 0082                subi.w     D0, 0x82
  8595. 00005316  6700 00A8                beq        +0xAA /* 000053C0 */
  8596. 0000531A  6A0A                     bpl        +0xC /* 00005326 */
  8597. 0000531C  5440                     addq.w     D0, 2
  8598. 0000531E  6710                     beq        +0x12 /* 00005330 */
  8599. 00005320  6A46                     bpl        +0x48 /* 00005368 */
  8600. 00005322  6000 0146                bra        +0x148 /* 0000546A */
  8601. label00005326:
  8602. 00005326  5540                     subq.w     D0, 2
  8603. 00005328  6A00 0140                bpl        +0x142 /* 0000546A */
  8604. 0000532C  6000 00AC                bra        +0xAE /* 000053DA */
  8605. label00005330:
  8606. 00005330  3006                     move.w     D0, D6
  8607. 00005332  670E                     beq        +0x10 /* 00005342 */
  8608. 00005334  6B0C                     bmi        +0xE /* 00005342 */
  8609. 00005336  5540                     subq.w     D0, 2
  8610. 00005338  6A08                     bpl        +0xA /* 00005342 */
  8611. 0000533A  4EBA 015A                jsr        [PC + 0x15A /* 00005496 */]
  8612. 0000533E  6000 012A                bra        +0x12C /* 0000546A */
  8613. label00005342:
  8614. 00005342  486E FEFC                pea.l      [A6 - 0x104]
  8615. 00005346  A874                     syscall    GetPort
  8616. 00005348  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8617. 0000534C  3F06                     move.w     -[A7], D6
  8618. 0000534E  486E FF00                pea.l      [A6 - 0x100]
  8619. 00005352  A946                     syscall    GetMenuItemText/GetItem
  8620. 00005354  4267                     clr.w      -[A7]
  8621. label00005356:
  8622. 00005356  486E FF00                pea.l      [A6 - 0x100]
  8623. 0000535A  A9B6                     syscall    OpenDeskAcc
  8624. 0000535C  2F2E FEFC                move.l     -[A7], [A6 - 0x104]
  8625. 00005360  A873                     syscall    SetPort
  8626. 00005362  548F                     addq.l     A7, 2
  8627. 00005364  6000 0104                bra        +0x106 /* 0000546A */
  8628. label00005368:
  8629. 00005368  3006                     move.w     D0, D6
  8630. 0000536A  6700 00FE                beq        +0x100 /* 0000546A */
  8631. 0000536E  6B00 00FA                bmi        +0xFC /* 0000546A */
  8632. 00005372  5B40                     subq.w     D0, 5
  8633. 00005374  6732                     beq        +0x34 /* 000053A8 */
  8634. 00005376  6A00 00F2                bpl        +0xF4 /* 0000546A */
  8635. 0000537A  5640                     addq.w     D0, 3
  8636. 0000537C  6704                     beq        +0x6 /* 00005382 */
  8637. 0000537E  6000 00EA                bra        +0xEC /* 0000546A */
  8638. label00005382:
  8639. 00005382  42A7                     clr.l      -[A7]
  8640. 00005384  A924                     syscall    FrontWindow
  8641. 00005386  285F                     movea.l    A4, [A7]+
  8642. 00005388  200C                     move.l     D0, A4
  8643. 0000538A  6700 00DE                beq        +0xE0 /* 0000546A */
  8644. 0000538E  4A6C 006C                tst.w      [A4 + 0x6C]
  8645. 00005392  6C0A                     bge        +0xC /* 0000539E */
  8646. 00005394  3F2C 006C                move.w     -[A7], [A4 + 0x6C]
  8647. 00005398  A9B7                     syscall    CloseDeskAcc
  8648. 0000539A  6000 00CE                bra        +0xD0 /* 0000546A */
  8649. label0000539E:
  8650. 0000539E  2F0C                     move.l     -[A7], A4
  8651. 000053A0  4EAD 0000                jsr        [A5 + 0x0]
  8652. 000053A4  6000 00C4                bra        +0xC6 /* 0000546A */
  8653. label000053A8:
  8654. 000053A8  206D 0000                movea.l    A0, [A5 + 0x0]
  8655. 000053AC  4A28 006E                tst.b      [A0 + 0x6E]
  8656. 000053B0  6708                     beq        +0xA /* 000053BA */
  8657. 000053B2  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8658. 000053B6  4EAD 0000                jsr        [A5 + 0x0]
  8659. label000053BA:
  8660. 000053BA  A9F4                     syscall    ExitToShell
  8661. 000053BC  6000 00AC                bra        +0xAE /* 0000546A */
  8662. label000053C0:
  8663. 000053C0  4227                     clr.b      -[A7]
  8664. 000053C2  70FF                     moveq.l    D0, 0xFFFFFFFF
  8665. 000053C4  D046                     add.w      D0, D6
  8666. 000053C6  3F00                     move.w     -[A7], D0
  8667. 000053C8  A9C2                     syscall    SysEdit
  8668. 000053CA  4A1F                     tst.b      [A7]+
  8669. 000053CC  6600 009C                bne        +0x9E /* 0000546A */
  8670. 000053D0  3F3C 0005                move.w     -[A7], 0x5
  8671. 000053D4  A9C8                     syscall    SysBeep
  8672. 000053D6  6000 0092                bra        +0x94 /* 0000546A */
  8673. label000053DA:
  8674. 000053DA  3006                     move.w     D0, D6
  8675. 000053DC  0C40 000A                cmpi.w     D0, 0xA /* '\n' */
  8676. 000053E0  6200 0088                bhi        +0x8A /* 0000546A */
  8677. 000053E4  43FA 009A                lea.l      A1, [PC + 0x9A /* 00005480, value 0xFFEAFF70 */]
  8678. 000053E8  D040                     add.w      D0, D0
  8679. 000053EA  D2F1 0000                add.w      A1, [A1 + D0.w]
  8680. 000053EE  4ED1                     jmp        [A1]
  8681. 000053F0  486E FECA                pea.l      [A6 - 0x136]
  8682. 000053F4  7015                     moveq.l    D0, 0x15
  8683. 000053F6  ABC2                     syscall    QTMatrixMathDispatch
  8684. 000053F8  6070                     bra        +0x72 /* 0000546A */
  8685. 000053FA  42A7                     clr.l      -[A7]
  8686. 000053FC  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8687. 00005400  4267                     clr.w      -[A7]
  8688. 00005402  2F3C 0002 002E           move.l     -[A7], 0x2002E
  8689. 00005408  7000                     moveq.l    D0, 0x00
  8690. 0000540A  A82A                     syscall    ComponentDispatch
  8691. 0000540C  588F                     addq.l     A7, 4
  8692. 0000540E  605A                     bra        +0x5C /* 0000546A */
  8693. 00005410  42A7                     clr.l      -[A7]
  8694. 00005412  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8695. 00005416  3F3C 0001                move.w     -[A7], 0x1
  8696. 0000541A  2F3C 0002 002E           move.l     -[A7], 0x2002E
  8697. 00005420  7000                     moveq.l    D0, 0x00
  8698. 00005422  A82A                     syscall    ComponentDispatch
  8699. 00005424  588F                     addq.l     A7, 4
  8700. 00005426  6042                     bra        +0x44 /* 0000546A */
  8701. 00005428  42A7                     clr.l      -[A7]
  8702. 0000542A  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8703. 0000542E  2F3C 0000 0016           move.l     -[A7], 0x16
  8704. 00005434  7000                     moveq.l    D0, 0x00
  8705. 00005436  A82A                     syscall    ComponentDispatch
  8706. 00005438  588F                     addq.l     A7, 4
  8707. 0000543A  602E                     bra        +0x30 /* 0000546A */
  8708. 0000543C  102D 0000                move.b     D0, [A5 + 0x0]
  8709. 00005440  4600                     not.b      D0
  8710. 00005442  1B40 0000                move.b     [A5 + 0x0], D0
  8711. 00005446  42A7                     clr.l      -[A7]
  8712. 00005448  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8713. 0000544C  4EAD 0000                jsr        [A5 + 0x0]
  8714. 00005450  588F                     addq.l     A7, 4
  8715. 00005452  6016                     bra        +0x18 /* 0000546A */
  8716. 00005454  102D 0000                move.b     D0, [A5 + 0x0]
  8717. 00005458  4600                     not.b      D0
  8718. 0000545A  1B40 0000                move.b     [A5 + 0x0], D0
  8719. 0000545E  42A7                     clr.l      -[A7]
  8720. 00005460  2F2D 0000                move.l     -[A7], [A5 + 0x0]
  8721. 00005464  4EAD 0000                jsr        [A5 + 0x0]
  8722. 00005468  588F                     addq.l     A7, 4
  8723. label0000546A:
  8724. 0000546A  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  8725. 0000546E  4E5E                     unlink     A6
  8726. 00005470  4E75                     rts
  8727. 00005472  8A48                     or.w       D5, A0
  8728. 00005474  616E                     bsr        +0x70 /* 000054E4 */
  8729. 00005476  646C                     bcc        +0x6E /* 000054E4 */
  8730. 00005478  654D                     bcs        +0x4F /* 000054C7 */
  8731. 0000547A  656E                     bcs        +0x70 /* 000054EA */
  8732. 0000547C  7500                     moveq.l    D2, 0x00
  8733. 0000547E  0016 FFEA                ori.b      [A6], 0xEA
  8734. 00005482  FF70                     .extension 0xF70 <<F/4-5/7>> // unimplemented
  8735. 00005484  FFEA                     .invalid   <<F/7/7>>
  8736. 00005486  FFEA                     .invalid   <<F/7/7>>
  8737. 00005488  FFEA                     .invalid   <<F/7/7>>
  8738. 0000548A  FF7A                     .extension 0xF7A <<F/4-5/7>> // unimplemented
  8739. 0000548C  FF90                     .invalid   <<F/6/7>>
  8740. 0000548E  FFA8                     .invalid   <<F/6/7>>
  8741. 00005490  FFEA                     .invalid   <<F/7/7>>
  8742. 00005492  FFBC                     .invalid   <<F/6/7>>
  8743. 00005494  FFD4                     .invalid   <<F/7/7>>
  8744. fn00005496:
  8745. 00005496  4E56 FFF0                link       A6, -0x0010
  8746. 0000549A  2F0C                     move.l     -[A7], A4
  8747. 0000549C  42A7                     clr.l      -[A7]
  8748. 0000549E  3F3C 0080                move.w     -[A7], 0x80
  8749. 000054A2  42A7                     clr.l      -[A7]
  8750. 000054A4  4878 FFFF                push.l     0xFFFF
  8751. 000054A8  A97C                     syscall    GetNewDialog
  8752. 000054AA  285F                     movea.l    A4, [A7]+
  8753. 000054AC  2F0C                     move.l     -[A7], A4
  8754. 000054AE  A873                     syscall    SetPort
  8755. 000054B0  2F0C                     move.l     -[A7], A4
  8756. 000054B2  3F3C 0001                move.w     -[A7], 0x1
  8757. 000054B6  486E FFFE                pea.l      [A6 - 0x2]
  8758. 000054BA  486E FFF8                pea.l      [A6 - 0x8]
  8759. 000054BE  486E FFF0                pea.l      [A6 - 0x10]
  8760. 000054C2  A98D                     syscall    GetDialogItem/GetDItem
  8761. 000054C4  2F3C 0003 0003           move.l     -[A7], 0x30003
  8762. 000054CA  A89B                     syscall    PenSize
  8763. 000054CC  486E FFF0                pea.l      [A6 - 0x10]
  8764. 000054D0  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  8765. 000054D6  A8A9                     syscall    InsetRect
  8766. 000054D8  486E FFF0                pea.l      [A6 - 0x10]
  8767. 000054DC  2F3C 0010 0010           move.l     -[A7], 0x100010
  8768. 000054E2  A8B0                     syscall    FrameRoundRect
  8769. fn000054E4:
  8770. 000054E4  42A7                     clr.l      -[A7]
  8771. 000054E6  486E FFFE                pea.l      [A6 - 0x2]
  8772. label000054EA:
  8773. 000054EA  A991                     syscall    ModalDialog
  8774. 000054EC  0C6E 0001 FFFE           cmpi.w     [A6 - 0x2], 0x1
  8775. 000054F2  66F0                     bne        -0xE /* 000054E4 */
  8776. 000054F4  2F0C                     move.l     -[A7], A4
  8777. 000054F6  A983                     syscall    DisposeDialog
  8778. 000054F8  285F                     movea.l    A4, [A7]+
  8779. 000054FA  4E5E                     unlink     A6
  8780. 000054FC  4E75                     rts
  8781. 000054FE  8A44                     or.w       D5, D4
  8782. 00005500  6F41                     ble        +0x43 /* 00005543 */
  8783. 00005502  626F                     bhi        +0x71 /* 00005573 */
  8784. 00005504  7574                     moveq.l    D2, 0x74
  8785. 00005506  426F 7800                clr.w      [A7 + 0x7800]
  8786. 0000550A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  8787. // begin alternate branch 0000550C-00005516
  8788. fn0000550C:
  8789. 0000550C  4E56 0000                link       A6, 0
  8790. 00005510  4AAE 0008                tst.l      [A6 + 0x8]
  8791. 00005514  670A                     beq        +0xC /* 00005520 */
  8792. // end alternate branch 0000550C-00005516
  8793. fn0000550C: // (misaligned)
  8794. 0000550E  0000 4AAE                ori.b      D0, 0xAE
  8795. 00005512  0008 670A                ori.b      A0, 0xA /* '\n' */
  8796. 00005516  202E 0008                move.l     D0, [A6 + 0x8]
  8797. 0000551A  B0AD 0000                cmp.l      D0, [A5 + 0x0]
  8798. 0000551E  6704                     beq        +0x6 /* 00005524 */
  8799. label00005520:
  8800. 00005520  7000                     moveq.l    D0, 0x00
  8801. 00005522  6002                     bra        +0x4 /* 00005526 */
  8802. label00005524:
  8803. 00005524  7001                     moveq.l    D0, 0x01
  8804. label00005526:
  8805. 00005526  4E5E                     unlink     A6
  8806. 00005528  4E75                     rts
  8807. 0000552A  8A49                     or.w       D5, A1
  8808. 0000552C  734D                     moveq.l    D1, 0x4D
  8809. 0000552E  7957                     moveq.l    D4, 0x57
  8810. 00005530  696E                     bvs        +0x70 /* 000055A0 */
  8811. 00005532  646F                     bcc        +0x71 /* 000055A3 */
  8812. 00005534  7700                     moveq.l    D3, 0x00
  8813. 00005536  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  8814. // begin alternate branch 00005538-0000553C
  8815. fn00005538:
  8816. 00005538  4E56 FFC8                link       A6, -0x0038
  8817. // end alternate branch 00005538-0000553C
  8818. fn00005538: // (misaligned)
  8819. 0000553A  FFC8                     .invalid   <<F/7/7>>
  8820. 0000553C  48E7 1F08                movem.l    -[A7], D3,D4,D5,D6,D7,A4
  8821. 00005540  286E 0008                movea.l    A4, [A6 + 0x8]
  8822. 00005544  4267                     clr.w      -[A7]
  8823. 00005546  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  8824. 0000554A  486E FFFC                pea.l      [A6 - 0x4]
  8825. 0000554E  A92C                     syscall    FindWindow
  8826. 00005550  3E1F                     move.w     D7, [A7]+
  8827. 00005552  3007                     move.w     D0, D7
  8828. 00005554  0C40 0006                cmpi.w     D0, 0x6
  8829. 00005558  6200 0120                bhi        +0x122 /* 0000567A */
  8830. 0000555C  43FA 0136                lea.l      A1, [PC + 0x136 /* 00005694, value 0xFFE6FEE0 */]
  8831. 00005560  D040                     add.w      D0, D0
  8832. 00005562  D2F1 0000                add.w      A1, [A1 + D0.w]
  8833. 00005566  4ED1                     jmp        [A1]
  8834. 00005568  2F0C                     move.l     -[A7], A4
  8835. 0000556A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8836. 0000556E  A9B3                     syscall    SystemClick
  8837. 00005570  6000 0108                bra        +0x10A /* 0000567A */
  8838. 00005574  4EBA FC96                jsr        [PC - 0x36A /* 0000520C */]
  8839. 00005578  42A7                     clr.l      -[A7]
  8840. 0000557A  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  8841. 0000557E  A93D                     syscall    MenuSelect
  8842. 00005580  4EBA FD6C                jsr        [PC - 0x294 /* 000052EE */]
  8843. 00005584  588F                     addq.l     A7, 4
  8844. 00005586  6000 00F2                bra        +0xF4 /* 0000567A */
  8845. 0000558A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8846. 0000558E  4EBA FF7C                jsr        [PC - 0x84 /* 0000550C */]
  8847. 00005592  4A00                     tst.b      D0
  8848. 00005594  588F                     addq.l     A7, 4
  8849. 00005596  6700 00E2                beq        +0xE4 /* 0000567A */
  8850. 0000559A  486E FFC8                pea.l      [A6 - 0x38]
  8851. 0000559E  A976                     syscall    GetKeys
  8852. label000055A0:
  8853. 000055A0  7604                     moveq.l    D3, 0x04
  8854. 000055A2  C62E FFCF                and.b      D3, [A6 - 0x31]
  8855. 000055A6  4A03                     tst.b      D3
  8856. 000055A8  675A                     beq        +0x5C /* 00005604 */
  8857. 000055AA  7A00                     moveq.l    D5, 0x00
  8858. 000055AC  6050                     bra        +0x52 /* 000055FE */
  8859. label000055AE:
  8860. 000055AE  4227                     clr.b      -[A7]
  8861. 000055B0  3F3C FFFF                move.w     -[A7], 0xFFFF
  8862. 000055B4  486E FFDC                pea.l      [A6 - 0x24]
  8863. 000055B8  A970                     syscall    GetNextEvent
  8864. 000055BA  7C00                     moveq.l    D6, 0x00
  8865. 000055BC  1C1F                     move.b     D6, [A7]+
  8866. 000055BE  4227                     clr.b      -[A7]
  8867. 000055C0  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  8868. 000055C4  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  8869. 000055C8  A881                     syscall    EqualPt
  8870. 000055CA  181F                     move.b     D4, [A7]+
  8871. 000055CC  4A04                     tst.b      D4
  8872. 000055CE  6614                     bne        +0x16 /* 000055E4 */
  8873. 000055D0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8874. 000055D4  3F2E FFE8                move.w     -[A7], [A6 - 0x18]
  8875. 000055D8  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  8876. 000055DC  1F3C 0001                move.b     -[A7], 0x1
  8877. 000055E0  4EAD 0000                jsr        [A5 + 0x0]
  8878. label000055E4:
  8879. 000055E4  2D6E FFE6 FFD8           move.l     [A6 - 0x28], [A6 - 0x1A]
  8880. 000055EA  4A46                     tst.w      D6
  8881. 000055EC  6710                     beq        +0x12 /* 000055FE */
  8882. 000055EE  302E FFDC                move.w     D0, [A6 - 0x24]
  8883. 000055F2  670A                     beq        +0xC /* 000055FE */
  8884. 000055F4  6B08                     bmi        +0xA /* 000055FE */
  8885. 000055F6  5540                     subq.w     D0, 2
  8886. 000055F8  6702                     beq        +0x4 /* 000055FC */
  8887. 000055FA  6002                     bra        +0x4 /* 000055FE */
  8888. label000055FC:
  8889. 000055FC  7A01                     moveq.l    D5, 0x01
  8890. label000055FE:
  8891. 000055FE  4A05                     tst.b      D5
  8892. 00005600  67AC                     beq        -0x52 /* 000055AE */
  8893. 00005602  6076                     bra        +0x78 /* 0000567A */
  8894. label00005604:
  8895. 00005604  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8896. 00005608  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  8897. 0000560C  486D 0000                pea.l      [A5 + 0x0]
  8898. 00005610  4EAD 0000                jsr        [A5 + 0x0]
  8899. 00005614  6064                     bra        +0x66 /* 0000567A */
  8900. 00005616  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8901. 0000561A  4EBA FEF0                jsr        [PC - 0x110 /* 0000550C */]
  8902. 0000561E  4A00                     tst.b      D0
  8903. 00005620  588F                     addq.l     A7, 4
  8904. 00005622  6756                     beq        +0x58 /* 0000567A */
  8905. 00005624  42A7                     clr.l      -[A7]
  8906. 00005626  A924                     syscall    FrontWindow
  8907. 00005628  202E FFFC                move.l     D0, [A6 - 0x4]
  8908. 0000562C  B09F                     cmp.l      D0, [A7]+
  8909. 0000562E  674A                     beq        +0x4C /* 0000567A */
  8910. 00005630  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8911. 00005634  A91F                     syscall    SelectWindow
  8912. 00005636  6042                     bra        +0x44 /* 0000567A */
  8913. 00005638  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8914. 0000563C  4EBA FECE                jsr        [PC - 0x132 /* 0000550C */]
  8915. 00005640  4A00                     tst.b      D0
  8916. 00005642  588F                     addq.l     A7, 4
  8917. 00005644  6734                     beq        +0x36 /* 0000567A */
  8918. 00005646  4227                     clr.b      -[A7]
  8919. 00005648  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8920. 0000564C  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  8921. 00005650  A91E                     syscall    TrackGoAway
  8922. 00005652  4A1F                     tst.b      [A7]+
  8923. 00005654  6724                     beq        +0x26 /* 0000567A */
  8924. 00005656  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8925. 0000565A  4EAD 0000                jsr        [A5 + 0x0]
  8926. 0000565E  601A                     bra        +0x1C /* 0000567A */
  8927. 00005660  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8928. 00005664  4EBA FEA6                jsr        [PC - 0x15A /* 0000550C */]
  8929. 00005668  4A00                     tst.b      D0
  8930. 0000566A  588F                     addq.l     A7, 4
  8931. 0000566C  670C                     beq        +0xE /* 0000567A */
  8932. 0000566E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  8933. 00005672  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  8934. 00005676  4EAD 0000                jsr        [A5 + 0x0]
  8935. label0000567A:
  8936. 0000567A  4CDF 10F8                movem.l    D3,D4,D5,D6,D7,A4, [A7]+
  8937. 0000567E  4E5E                     unlink     A6
  8938. 00005680  4E75                     rts
  8939. 00005682  8F48 616E                pack       -[A7], -[A0], 0x616E
  8940. 00005686  646C                     bcc        +0x6E /* 000056F4 */
  8941. 00005688  654D                     bcs        +0x4F /* 000056D7 */
  8942. 0000568A  6F75                     ble        +0x77 /* 00005701 */
  8943. 0000568C  7365                     moveq.l    D1, 0x65
  8944. 0000568E  446F 776E                neg.w      [A7 + 0x776E]
  8945. 00005692  000E FFE6                ori.b      A6, 0xE6
  8946. 00005696  FEE0 FED4                .extension 0xEE0 <<F/2-3/7>> // unimplemented
  8947. 0000569A  FF82                     .invalid   <<F/6/7>>
  8948. 0000569C  FEF6 FFCC                .extension 0xEF6 <<F/2-3/7>> // unimplemented
  8949. 000056A0  FFA4                     .invalid   <<F/6/7>>
  8950. fn000056A2:
  8951. 000056A2  4E56 FFFA                link       A6, -0x0006
  8952. 000056A6  4267                     clr.w      -[A7]
  8953. 000056A8  206E 0008                movea.l    A0, [A6 + 0x8]
  8954. 000056AC  2F28 000A                move.l     -[A7], [A0 + 0xA]
  8955. 000056B0  486E FFFC                pea.l      [A6 - 0x4]
  8956. 000056B4  A92C                     syscall    FindWindow
  8957. 000056B6  3D5F FFFA                move.w     [A6 - 0x6], [A7]+
  8958. 000056BA  4E5E                     unlink     A6
  8959. 000056BC  4E75                     rts
  8960. 000056BE  8D48 616E                pack       -[A6], -[A0], 0x616E
  8961. 000056C2  646C                     bcc        +0x6E /* 00005730 */
  8962. 000056C4  654D                     bcs        +0x4F /* 00005713 */
  8963. 000056C6  6F75                     ble        +0x77 /* 0000573D */
  8964. 000056C8  7365                     moveq.l    D1, 0x65
  8965. 000056CA  5570 0000                subq.w     [A0 + D0.w], 2
  8966. fn000056CE:
  8967. 000056CE  4E56 FFEE                link       A6, -0x0012
  8968. 000056D2  48E7 0108                movem.l    -[A7], D7,A4
  8969. 000056D6  4267                     clr.w      -[A7]
  8970. 000056D8  A938                     syscall    HiliteMenu
  8971. 000056DA  A9B4                     syscall    SystemTask
  8972. 000056DC  4227                     clr.b      -[A7]
  8973. 000056DE  3F3C FFFF                move.w     -[A7], 0xFFFF
  8974. 000056E2  486E FFF0                pea.l      [A6 - 0x10]
  8975. 000056E6  A970                     syscall    GetNextEvent
  8976. 000056E8  7E00                     moveq.l    D7, 0x00
  8977. 000056EA  1E1F                     move.b     D7, [A7]+
  8978. 000056EC  4A47                     tst.w      D7
  8979. 000056EE  676E                     beq        +0x70 /* 0000575E */
  8980. 000056F0  302E FFF0                move.w     D0, [A6 - 0x10]
  8981. label000056F4:
  8982. 000056F4  0C40 0008                cmpi.w     D0, 0x8
  8983. 000056F8  6264                     bhi        +0x66 /* 0000575E */
  8984. 000056FA  43FA 0078                lea.l      A1, [PC + 0x78 /* 00005774, value 0xFFEAFF92 */]
  8985. 000056FE  D040                     add.w      D0, D0
  8986. 00005700  D2F1 0000                add.w      A1, [A1 + D0.w]
  8987. 00005704  4ED1                     jmp        [A1]
  8988. 00005706  486E FFF0                pea.l      [A6 - 0x10]
  8989. 0000570A  4EBA FE2C                jsr        [PC - 0x1D4 /* 00005538 */]
  8990. 0000570E  588F                     addq.l     A7, 4
  8991. 00005710  604C                     bra        +0x4E /* 0000575E */
  8992. 00005712  486E FFF0                pea.l      [A6 - 0x10]
  8993. 00005716  4EBA FF8A                jsr        [PC - 0x76 /* 000056A2 */]
  8994. 0000571A  588F                     addq.l     A7, 4
  8995. 0000571C  6040                     bra        +0x42 /* 0000575E */
  8996. 0000571E  082E 0000 FFFE           btst.b     [A6 - 0x2], 0x0
  8997. 00005724  6738                     beq        +0x3A /* 0000575E */
  8998. 00005726  4EBA FAE4                jsr        [PC - 0x51C /* 0000520C */]
  8999. 0000572A  42A7                     clr.l      -[A7]
  9000. 0000572C  70FF                     moveq.l    D0, 0xFFFFFFFF
  9001. 0000572E  C02E FFF5                and.b      D0, [A6 - 0xB]
  9002. // begin alternate branch 00005730-00005732
  9003. label00005730:
  9004. 00005730  FFF5                     .invalid   <<F/7/7>>
  9005. // end alternate branch 00005730-00005732
  9006. label00005730: // (misaligned)
  9007. 00005732  4880                     ext.w      D0
  9008. 00005734  3F00                     move.w     -[A7], D0
  9009. 00005736  A93E                     syscall    MenuKey
  9010. 00005738  4EBA FBB4                jsr        [PC - 0x44C /* 000052EE */]
  9011. 0000573C  588F                     addq.l     A7, 4
  9012. 0000573E  601E                     bra        +0x20 /* 0000575E */
  9013. 00005740  286E FFF2                movea.l    A4, [A6 - 0xE]
  9014. 00005744  2F0C                     move.l     -[A7], A4
  9015. 00005746  A922                     syscall    BeginUpdate
  9016. 00005748  2F0C                     move.l     -[A7], A4
  9017. 0000574A  A923                     syscall    EndUpdate
  9018. 0000574C  6010                     bra        +0x12 /* 0000575E */
  9019. 0000574E  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  9020. 00005752  A873                     syscall    SetPort
  9021. 00005754  206E FFF2                movea.l    A0, [A6 - 0xE]
  9022. 00005758  4868 0010                pea.l      [A0 + 0x10]
  9023. 0000575C  A928                     syscall    InvalRect
  9024. label0000575E:
  9025. 0000575E  4CDF 1080                movem.l    D7,A4, [A7]+
  9026. 00005762  4E5E                     unlink     A6
  9027. 00005764  4E75                     rts
  9028. 00005766  8B48 616E                pack       -[A5], -[A0], 0x616E
  9029. 0000576A  646C                     bcc        +0x6E /* 000057D8 */
  9030. 0000576C  6545                     bcs        +0x47 /* 000057B3 */
  9031. 0000576E  7665                     moveq.l    D3, 0x65
  9032. 00005770  6E74                     bgt        +0x76 /* 000057E6 */
  9033. 00005772  0012 FFEA                ori.b      [A2], 0xEA
  9034. 00005776  FF92                     .invalid   <<F/6/7>>
  9035. 00005778  FF9E                     .invalid   <<F/6/7>>
  9036. 0000577A  FFAA                     .invalid   <<F/6/7>>
  9037. 0000577C  FFEA                     .invalid   <<F/7/7>>
  9038. 0000577E  FFAA                     .invalid   <<F/6/7>>
  9039. 00005780  FFCC                     .invalid   <<F/7/7>>
  9040. 00005782  FFEA                     .invalid   <<F/7/7>>
  9041. 00005784  FFDA                     .invalid   <<F/7/7>>
  9042. 00005786  4EBA F9D4                jsr        [PC - 0x62C /* 0000515C */]
  9043. 0000578A  4EBA F9F2                jsr        [PC - 0x60E /* 0000517E */]
  9044. 0000578E  4EBA FA4E                jsr        [PC - 0x5B2 /* 000051DE */]
  9045. label00005792:
  9046. 00005792  4EBA FF3A                jsr        [PC - 0xC6 /* 000056CE */]
  9047. 00005796  60FA                     bra        -0x4 /* 00005792 */
  9048. 00005798  4E75                     rts
  9049.